#38AF40#38AF40

#38AF40 is a light, vivid green. Relative luminance 0.319; OKLCH L 66.5% C 0.184 H 144.1°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#38AF40
RGBrgb(56, 175, 64)
HSLhsl(124, 52%, 45%)
HSVhsv(124, 68%, 69%)
CMYKcmyk(68%, 0%, 63.4%, 31.4%)
CIE-LABlab(63.23, -55.01, 46.20)
CIE-LCHlch(63.23, 71.84, 139.97°)
OKLaboklab(66.48% -0.149 0.1078)
OKLCHoklch(66.48% 0.184 144.1)
XYZxyz(17.8852, 31.8690, 10.0583)
Luminance0.3187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38AF40 #AF38A7
analogous
#6BAF38 #38AF40 #38AF7C
triadic
#38AF40 #4038AF #AF4038
tetradic
#38AF40 #386BAF #AF38A7 #AF7C38
square
#38AF40 #386BAF #AF38A7 #AF7C38
split-complementary
#38AF40 #7C38AF #AF386B
monochromatic
#1A521E #29812F #38AF40 #5ACA62 #88D98E

Accessibility & contrast

On white

2.85
#38AF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#38AF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38AF40
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38AF40#FFFFFF#000000##000000
##38AF401.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F33
Deuteranopia (green-blind)
#A4954A
Tritanopia (blue-blind)
#15AA98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #38af40;
/* rgb */ color: rgb(56, 175, 64);
/* oklch */ color: oklch(66.5% 0.184 144.1);
Tailwind
colors: {
  custom: {
    50: '#7ec879',
    500: '#38af40',
    950: '#000000',
  },
}
SCSS
$custom: #38af40;
$custom-light: #7ec879;
$custom-dark: #000000;
JSON
{
  "hex": "#38af40",
  "rgb": {
    "r": 56,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 124.034,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.6648,
    "c": 0.18387,
    "h": 144.1
  },
  "luminance": 0.31871
}

Semantic roles & 50–950 ramp

primary
#38AF40
secondary
#C380BF
accent
#4DD1DB
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #38AF40

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#38AF40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva