#38841B#38841B

#38841B is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.156 H 138.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#38841B
RGBrgb(56, 132, 27)
HSLhsl(103, 66%, 31%)
HSVhsv(103, 80%, 52%)
CMYKcmyk(57.6%, 0%, 79.5%, 48.2%)
CIE-LABlab(48.79, -42.59, 45.95)
CIE-LCHlch(48.79, 62.65, 132.82°)
OKLaboklab(54.44% -0.1174 0.1026)
OKLCHoklch(54.44% 0.156 138.9)
XYZxyz(10.0796, 17.4216, 3.8682)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38841B #671B84
analogous
#6C841B #38841B #1B8432
triadic
#38841B #1B3884 #841B38
tetradic
#38841B #1B6C84 #671B84 #84321B
square
#38841B #1B6C84 #671B84 #84321B
split-complementary
#38841B #321B84 #841B6C
monochromatic
#0D1E06 #225111 #38841B #4EB725 #6BD841

Accessibility & contrast

On white

4.68
#38841B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#38841B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38841B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38841B#FFFFFF#000000##FFFFFF
##38841B1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887801
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#307F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #38841b;
/* rgb */ color: rgb(56, 132, 27);
/* oklch */ color: oklch(54.4% 0.156 138.9);
Tailwind
colors: {
  custom: {
    50: '#78a860',
    500: '#38841b',
    950: '#000000',
  },
}
SCSS
$custom: #38841b;
$custom-light: #78a860;
$custom-dark: #000000;
JSON
{
  "hex": "#38841b",
  "rgb": {
    "r": 56,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 103.429,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54442,
    "c": 0.15593,
    "h": 138.9
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#38841B
secondary
#9743B7
accent
#3FE9BA
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #38841B

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

Preview Lab → · Contrast checker → · Palette generator →

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