Skip to content

#38df0d

a balanced, electric green · neutral · closest name: Lime Green

RGB
56, 223, 13
HSL
108°, 89%, 46%
CMYK
75, 0, 94, 13
Luminance
0.5365

At a glance

Every number on this page in one read: what #38df0d is made of, how bright it looks, and which way it leans.

Hex
#38df0d
Hue
108°
green
Saturation
89%
electric
Lightness
46%
balanced
Brightness
87%
HSV value
Perceived
68%
weighted brightness
Luminance
0.5365
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.73:1
Closest name
Lime Green
ΔE2000 5.1
Where it sits
Hue108° of 360°
Saturation89%
Lightness46%
Temperature
Warm ← → Cool57% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#38df0d
RGBrgb(56, 223, 13)
HSLhsl(108, 89%, 46%)
CMYKcmyk(75%, 0%, 94%, 13%)
LABlab(78.3 -73.2 74.6)
LCHlch(78.3 104.5 134.5)
OKLCHoklch(0.789 0.257 141.1)
Decimal3727117
Display P3color(display-p3 0.220 0.875 0.051)

Copy-ready code

/* CSS */
color: #38df0d;
background-color: #38df0d;
/* Tailwind (arbitrary) */
class="text-[#38df0d] bg-[#38df0d]"
/* SCSS */
$brand: #38df0d;
/* SwiftUI */
Color(red: 0.220, green: 0.875, blue: 0.051)
/* Android */
Color.parseColor("#38df0d")
/* Flutter */
Color(0xFF38DF0D)
/* Python / OpenCV (BGR) */
(13, 223, 56)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #38df0d · 11.73:1
Use #000000AAA at every size.
Aa
White text · 1.79:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.73:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #38df0d as text scores 1.79:1 on white and 11.73:1 on black.

Accessibility — WCAG contrast

Aa
#38df0d on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#38df0d on black: 11.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E5C900
deuteranopia · #D3BD35
tritanopia · #00D8BD

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #38df0d is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4FDF2
#E9FBE5
#CEF8C4
#A9F995
#7FF660
#54F32B
#38df0d
#30C10B
#279A09
#206F0B
#144607
Base = 600Lightest = 50 · #F4FDF2Darkest = 950 · #144607
:root {
  --brand-50: #F4FDF2;
  --brand-100: #E9FBE5;
  --brand-200: #CEF8C4;
  --brand-300: #A9F995;
  --brand-400: #7FF660;
  --brand-500: #54F32B;
  --brand-600: #38df0d;
  --brand-700: #30C10B;
  --brand-800: #279A09;
  --brand-900: #206F0B;
  --brand-950: #144607;
  --brand: #38df0d;
  --brand-ink: #000000;
}

Colors that work with #38df0d

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F6FAF4
Tinted page background
Border#C9EDC0
Hairlines and dividers
Muted text#5B9B4B
Captions on the surface
Accent#8008E4
Second voice, not a rival
Dark variant#1E7807
Hover, pressed, headers
Light variant#ECFEE7
Selected rows, tints
Dark surface#172414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #38df0d

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#B40DDF
Analogous left#A1DF0D
Analogous right#0DDF4B
Split-complement 1#4B0DDF
Split-complement 2#DF0DA1
Triadic 1#0D38DF
Triadic 2#DF0D38
Tetradic#0DA1DF

RGB percentages

Red22.0%
Green87.5%
Blue5.1%

CMYK percentages

Cyan74.9%
Magenta0.0%
Yellow94.2%
Key (black)12.5%

Color previews

#38df0d text on a black background

contrast 11.73:1

Card sample

#38df0d text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #38df0d;
Background color
Panel with #38df0d background
background-color: #38df0d;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #38df0d;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(56, 223, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(56, 223, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #38df0d;
background: linear-gradient(135deg, #38df0d, #0DDF6E);

Monochromatic scale

Palettes built from #38df0d

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#38df0d in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#38df0d, answered

What color is #38df0d?

#38df0d is a balanced electric green, closest to Lime Green (ΔE2000 5.1). It sits at 108° on the hue wheel with 89% saturation and 46% lightness, which reads as neutral.

What is the RGB value of #38df0d?

rgb(56, 223, 13) — 56 red, 223 green and 13 blue out of 255, or 22% / 87.5% / 5.1% by channel.

Is #38df0d a light or a dark color?

It is a light color. Relative luminance is 0.5365 and perceived brightness is 68%, so black text on it reaches 11.73:1.

Should I use black or white text on #38df0d?

Black. It scores 11.73:1 against #38df0d, versus 1.79:1 for white — AAA at any size.

What is the complementary color of #38df0d?

#B40DDF sits directly opposite on the wheel. Softer options are the split-complements #4B0DDF and #DF0DA1, which give the same contrast with far less vibration.

What colors go well with #38df0d?

For interface work: #F6FAF4 as the surface, #C9EDC0 for borders, #5B9B4B for secondary text, #8008E4 as an accent and #1E7807 for hover and pressed states. For a palette, the analogous pair #A1DF0D and #0DDF4B stays calm, while #B40DDF is the loudest partner.

What is #38df0d in CMYK for printing?

cmyk(75%, 0%, 94%, 13%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #38df0d warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #85DF0D; nudged cooler, #0BE22D.

Work with #38df0d in the Color Lab