#38AF42#38AF42

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

Color values

HEX#38AF42
RGBrgb(56, 175, 66)
HSLhsl(125, 52%, 45%)
HSVhsv(125, 68%, 69%)
CMYKcmyk(68%, 0%, 62.3%, 31.4%)
CIE-LABlab(63.25, -54.78, 45.33)
CIE-LCHlch(63.25, 71.10, 140.39°)
OKLaboklab(66.5% -0.1483 0.1061)
OKLCHoklch(66.5% 0.182 144.4)
XYZxyz(17.9431, 31.8921, 10.3634)
Luminance0.3189 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38AF42 #AF38A5
analogous
#69AF38 #38AF42 #38AF7D
triadic
#38AF42 #4238AF #AF4238
tetradic
#38AF42 #3869AF #AF38A5 #AF7D38
square
#38AF42 #3869AF #AF38A5 #AF7D38
split-complementary
#38AF42 #7D38AF #AF3869
monochromatic
#1A521F #298131 #38AF42 #5ACA63 #88D98F

Accessibility & contrast

On white

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

On black

7.38
#38AF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38AF42
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38AF42#FFFFFF#000000##000000
##38AF421.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F36
Deuteranopia (green-blind)
#A4954B
Tritanopia (blue-blind)
#14AA98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #38af42;
/* rgb */ color: rgb(56, 175, 66);
/* oklch */ color: oklch(66.5% 0.182 144.4);
Tailwind
colors: {
  custom: {
    50: '#7ec87a',
    500: '#38af42',
    950: '#000000',
  },
}
SCSS
$custom: #38af42;
$custom-light: #7ec87a;
$custom-dark: #000000;
JSON
{
  "hex": "#38af42",
  "rgb": {
    "r": 56,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 125.042,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.66502,
    "c": 0.18232,
    "h": 144.4
  },
  "luminance": 0.31894
}

Semantic roles & 50–950 ramp

primary
#38AF42
secondary
#C380BD
accent
#4DCFDB
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #38AF42

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

Preview Lab → · Contrast checker → · Palette generator →

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