#38501B#38501B

#38501B is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.9% C 0.084 H 130.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#38501B
RGBrgb(56, 80, 27)
HSLhsl(87, 50%, 21%)
HSVhsv(87, 66%, 31%)
CMYKcmyk(30%, 0%, 66.3%, 68.6%)
CIE-LABlab(31.01, -19.16, 27.64)
CIE-LCHlch(31.01, 33.63, 124.72°)
OKLaboklab(39.88% -0.0538 0.0641)
OKLCHoklch(39.88% 0.084 130)
XYZxyz(4.6973, 6.6571, 2.0742)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38501B #331B50
analogous
#504D1B #38501B #1D501B
triadic
#38501B #1B3850 #501B38
tetradic
#38501B #1B504D #331B50 #501B1D
square
#38501B #1B504D #331B50 #501B1D
split-complementary
#38501B #1B1D50 #4D1B50
monochromatic
#101708 #18220C #38501B #587E2A #78AC3A

Accessibility & contrast

On white

9.01
#38501B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#38501B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38501B
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38501B#FFFFFF#000000##FFFFFF
##38501B1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A15
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#394C45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #38501b;
/* rgb */ color: rgb(56, 80, 27);
/* oklch */ color: oklch(39.9% 0.084 130.0);
Tailwind
colors: {
  custom: {
    50: '#70815a',
    500: '#38501b',
    950: '#000000',
  },
}
SCSS
$custom: #38501b;
$custom-light: #70815a;
$custom-dark: #000000;
JSON
{
  "hex": "#38501b",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 27
  },
  "hsl": {
    "h": 87.17,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39875,
    "c": 0.08374,
    "h": 130
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#38501B
secondary
#604186
accent
#4FD98D
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #38501B

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

Preview Lab → · Contrast checker → · Palette generator →

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