#38AB31#38AB31

#38AB31 is a light, vivid green. Relative luminance 0.302; OKLCH L 65.3% C 0.190 H 142.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#38AB31
RGBrgb(56, 171, 49)
HSLhsl(117, 55%, 43%)
HSVhsv(117, 71%, 67%)
CMYKcmyk(67.3%, 0%, 71.3%, 32.9%)
CIE-LABlab(61.81, -55.10, 50.93)
CIE-LCHlch(61.81, 75.03, 137.25°)
OKLaboklab(65.26% -0.15 0.116)
OKLCHoklch(65.26% 0.19 142.3)
XYZxyz(16.7472, 30.1866, 7.8491)
Luminance0.3019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38AB31 #A431AB
analogous
#75AB31 #38AB31 #31AB67
triadic
#38AB31 #3138AB #AB3138
tetradic
#38AB31 #3175AB #A431AB #AB6731
square
#38AB31 #3175AB #A431AB #AB6731
split-complementary
#38AB31 #6731AB #AB3175
monochromatic
#194C16 #287B23 #38AB31 #54CC4D #82DA7D

Accessibility & contrast

On white

2.98
#38AB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#38AB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38AB31
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38AB31#FFFFFF#000000##000000
##38AB311.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1D
Deuteranopia (green-blind)
#A1923D
Tritanopia (blue-blind)
#1EA693
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #38ab31;
/* rgb */ color: rgb(56, 171, 49);
/* oklch */ color: oklch(65.3% 0.190 142.3);
Tailwind
colors: {
  custom: {
    50: '#7ec570',
    500: '#38ab31',
    950: '#000000',
  },
}
SCSS
$custom: #38ab31;
$custom-light: #7ec570;
$custom-dark: #000000;
JSON
{
  "hex": "#38ab31",
  "rgb": {
    "r": 56,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 116.557,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65264,
    "c": 0.18962,
    "h": 142.3
  },
  "luminance": 0.30188
}

Semantic roles & 50–950 ramp

primary
#38AB31
secondary
#BE75C2
accent
#49DFD6
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #38AB31

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

Preview Lab → · Contrast checker → · Palette generator →

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