#38501E#38501E

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

Color values

HEX#38501E
RGBrgb(56, 80, 30)
HSLhsl(89, 45%, 22%)
HSVhsv(89, 63%, 31%)
CMYKcmyk(30%, 0%, 62.5%, 68.6%)
CIE-LABlab(31.05, -18.83, 26.10)
CIE-LCHlch(31.05, 32.18, 125.81°)
OKLaboklab(39.91% -0.0527 0.0612)
OKLCHoklch(39.91% 0.081 130.7)
XYZxyz(4.7338, 6.6717, 2.2664)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38501E #361E50
analogous
#504F1E #38501E #1F501E
triadic
#38501E #1E3850 #501E38
tetradic
#38501E #1E504F #361E50 #501E1F
square
#38501E #1E504F #361E50 #501E1F
split-complementary
#38501E #1E1F50 #4F1E50
monochromatic
#101608 #19230D #38501E #577D2F #76A93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38501E#FFFFFF#000000##FFFFFF
##38501E1.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)
#544A19
Deuteranopia (green-blind)
#504821
Tritanopia (blue-blind)
#394D45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #38501e;
/* rgb */ color: rgb(56, 80, 30);
/* oklch */ color: oklch(39.9% 0.081 130.7);
Tailwind
colors: {
  custom: {
    50: '#70815c',
    500: '#38501e',
    950: '#000000',
  },
}
SCSS
$custom: #38501e;
$custom-light: #70815c;
$custom-dark: #000000;
JSON
{
  "hex": "#38501e",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 88.8,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39914,
    "c": 0.08074,
    "h": 130.7
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#38501E
secondary
#644585
accent
#53D591
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #38501E

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

Preview Lab → · Contrast checker → · Palette generator →

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