#38501D#38501D

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

Color values

HEX#38501D
RGBrgb(56, 80, 29)
HSLhsl(88, 47%, 21%)
HSVhsv(88, 64%, 31%)
CMYKcmyk(30%, 0%, 63.7%, 68.6%)
CIE-LABlab(31.04, -18.94, 26.62)
CIE-LCHlch(31.04, 32.67, 125.43°)
OKLaboklab(39.9% -0.0531 0.0622)
OKLCHoklch(39.9% 0.082 130.5)
XYZxyz(4.7213, 6.6667, 2.2002)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38501D #351D50
analogous
#504F1D #38501D #1F501D
triadic
#38501D #1D3850 #501D38
tetradic
#38501D #1D504F #351D50 #501D1F
square
#38501D #1D504F #351D50 #501D1F
split-complementary
#38501D #1D1F50 #4F1D50
monochromatic
#101608 #19230D #38501D #577D2D #77AA3E

Accessibility & contrast

On white

9.00
#38501D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38501D
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38501D#FFFFFF#000000##FFFFFF
##38501D1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38501d;
/* rgb */ color: rgb(56, 80, 29);
/* oklch */ color: oklch(39.9% 0.082 130.5);
Tailwind
colors: {
  custom: {
    50: '#70815b',
    500: '#38501d',
    950: '#000000',
  },
}
SCSS
$custom: #38501d;
$custom-light: #70815b;
$custom-dark: #000000;
JSON
{
  "hex": "#38501d",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 29
  },
  "hsl": {
    "h": 88.235,
    "s": 46.789,
    "l": 21.373
  },
  "oklch": {
    "l": 0.399,
    "c": 0.08176,
    "h": 130.5
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#38501D
secondary
#624485
accent
#51D690
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #38501D

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

Preview Lab → · Contrast checker → · Palette generator →

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