#38420E#38420E

#38420E is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.8% C 0.074 H 119.8°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#38420E
RGBrgb(56, 66, 14)
HSLhsl(72, 65%, 16%)
HSVhsv(72, 79%, 26%)
CMYKcmyk(15.2%, 0%, 78.8%, 74.1%)
CIE-LABlab(26.07, -12.50, 28.73)
CIE-LCHlch(26.07, 31.34, 113.51°)
OKLaboklab(35.84% -0.0368 0.0644)
OKLCHoklch(35.84% 0.074 119.8)
XYZxyz(3.6584, 4.7689, 1.1431)
Luminance0.0477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38420E #180E42
analogous
#42320E #38420E #1E420E
triadic
#38420E #0E3842 #420E38
tetradic
#38420E #0E4232 #180E42 #420E1E
square
#38420E #0E4232 #180E42 #420E1E
split-complementary
#38420E #0E1E42 #320E42
monochromatic
#151905 #151905 #38420E #637419 #8EA723

Accessibility & contrast

On white

10.75
#38420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#38420E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38420E
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38420E#FFFFFF#000000##FFFFFF
##38420E1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E06
Deuteranopia (green-blind)
#463E12
Tritanopia (blue-blind)
#3C3E38
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #38420e;
/* rgb */ color: rgb(56, 66, 14);
/* oklch */ color: oklch(35.8% 0.074 119.8);
Tailwind
colors: {
  custom: {
    50: '#707650',
    500: '#38420e',
    950: '#000000',
  },
}
SCSS
$custom: #38420e;
$custom-light: #707650;
$custom-dark: #000000;
JSON
{
  "hex": "#38420e",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 71.538,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35836,
    "c": 0.07417,
    "h": 119.8
  },
  "luminance": 0.04769
}

Semantic roles & 50–950 ramp

primary
#38420E
secondary
#3E2F7D
accent
#40E860
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #38420E

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

Preview Lab → · Contrast checker → · Palette generator →

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