#38581B#38581B

#38581B is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.1% C 0.096 H 132.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#38581B
RGBrgb(56, 88, 27)
HSLhsl(91, 53%, 23%)
HSVhsv(91, 69%, 35%)
CMYKcmyk(36.4%, 0%, 69.3%, 65.5%)
CIE-LABlab(33.77, -23.29, 30.68)
CIE-LCHlch(33.77, 38.52, 127.21°)
OKLaboklab(42.12% -0.0652 0.0706)
OKLCHoklch(42.12% 0.096 132.7)
XYZxyz(5.3184, 7.8991, 2.2812)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38581B #3B1B58
analogous
#57581B #38581B #1B581C
triadic
#38581B #1B3858 #581B38
tetradic
#38581B #1B5758 #3B1B58 #581C1B
square
#38581B #1B5758 #3B1B58 #581C1B
split-complementary
#38581B #1C1B58 #581B57
monochromatic
#0F1707 #1A290D #38581B #568729 #74B638

Accessibility & contrast

On white

8.14
#38581B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#38581B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38581B
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38581B#FFFFFF#000000##FFFFFF
##38581B1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5113
Deuteranopia (green-blind)
#574F20
Tritanopia (blue-blind)
#38544B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #38581b;
/* rgb */ color: rgb(56, 88, 27);
/* oklch */ color: oklch(42.1% 0.096 132.7);
Tailwind
colors: {
  custom: {
    50: '#71875b',
    500: '#38581b',
    950: '#000000',
  },
}
SCSS
$custom: #38581b;
$custom-light: #71875b;
$custom-dark: #000000;
JSON
{
  "hex": "#38581b",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 91.475,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42118,
    "c": 0.09609,
    "h": 132.7
  },
  "luminance": 0.07899
}

Semantic roles & 50–950 ramp

primary
#38581B
secondary
#69418E
accent
#4BDC97
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38581B

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

Preview Lab → · Contrast checker → · Palette generator →

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