#38982B#38982B

#38982B is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.1% C 0.171 H 141.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#38982B
RGBrgb(56, 152, 43)
HSLhsl(113, 56%, 38%)
HSVhsv(113, 72%, 60%)
CMYKcmyk(63.2%, 0%, 71.7%, 40.4%)
CIE-LABlab(55.55, -48.87, 46.78)
CIE-LCHlch(55.55, 67.65, 136.26°)
OKLaboklab(60.07% -0.1335 0.1066)
OKLCHoklch(60.07% 0.171 141.4)
XYZxyz(13.2945, 23.4704, 6.1147)
Luminance0.2347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38982B #8B2B98
analogous
#6E982B #38982B #2B9854
triadic
#38982B #2B3898 #982B38
tetradic
#38982B #2B6E98 #8B2B98 #98542B
square
#38982B #2B6E98 #8B2B98 #98542B
split-complementary
#38982B #542B98 #982B6E
monochromatic
#153910 #26681E #38982B #4AC739 #76D569

Accessibility & contrast

On white

3.69
#38982B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#38982B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38982B
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38982B#FFFFFF#000000##000000
##38982B1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A1A
Deuteranopia (green-blind)
#908236
Tritanopia (blue-blind)
#289382
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #38982b;
/* rgb */ color: rgb(56, 152, 43);
/* oklch */ color: oklch(60.1% 0.171 141.4);
Tailwind
colors: {
  custom: {
    50: '#7bb76b',
    500: '#38982b',
    950: '#000000',
  },
}
SCSS
$custom: #38982b;
$custom-light: #7bb76b;
$custom-dark: #000000;
JSON
{
  "hex": "#38982b",
  "rgb": {
    "r": 56,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 112.844,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60067,
    "c": 0.17078,
    "h": 141.4
  },
  "luminance": 0.23472
}

Semantic roles & 50–950 ramp

primary
#38982B
secondary
#B164BB
accent
#49DFCD
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #38982B

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

Preview Lab → · Contrast checker → · Palette generator →

#38982B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva