#38501F#38501F

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

Color values

HEX#38501F
RGBrgb(56, 80, 31)
HSLhsl(89, 44%, 22%)
HSVhsv(89, 61%, 31%)
CMYKcmyk(30%, 0%, 61.2%, 68.6%)
CIE-LABlab(31.06, -18.71, 25.57)
CIE-LCHlch(31.06, 31.69, 126.19°)
OKLaboklab(39.93% -0.0522 0.0602)
OKLCHoklch(39.93% 0.08 131)
XYZxyz(4.7468, 6.6769, 2.3347)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38501F #371F50
analogous
#50501F #38501F #20501F
triadic
#38501F #1F3850 #501F38
tetradic
#38501F #1F5050 #371F50 #501F20
square
#38501F #1F5050 #371F50 #501F20
split-complementary
#38501F #1F2050 #501F50
monochromatic
#0F1609 #19240E #38501F #577C30 #76A841

Accessibility & contrast

On white

8.99
#38501F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#38501F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38501F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38501F#FFFFFF#000000##FFFFFF
##38501F1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A1A
Deuteranopia (green-blind)
#504822
Tritanopia (blue-blind)
#394D45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #38501f;
/* rgb */ color: rgb(56, 80, 31);
/* oklch */ color: oklch(39.9% 0.080 131.0);
Tailwind
colors: {
  custom: {
    50: '#70815c',
    500: '#38501f',
    950: '#000000',
  },
}
SCSS
$custom: #38501f;
$custom-light: #70815c;
$custom-dark: #000000;
JSON
{
  "hex": "#38501f",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 89.388,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39928,
    "c": 0.07969,
    "h": 131
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#38501F
secondary
#654685
accent
#54D493
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #38501F

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

Preview Lab → · Contrast checker → · Palette generator →

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