#38420B#38420B

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

Color values

HEX#38420B
RGBrgb(56, 66, 11)
HSLhsl(71, 71%, 15%)
HSVhsv(71, 83%, 26%)
CMYKcmyk(15.2%, 0%, 83.3%, 74.1%)
CIE-LABlab(26.04, -12.69, 30.00)
CIE-LCHlch(26.04, 32.58, 112.93°)
OKLaboklab(35.81% -0.0377 0.0665)
OKLCHoklch(35.81% 0.076 119.6)
XYZxyz(3.6396, 4.7614, 1.0438)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38420B #150B42
analogous
#42300B #38420B #1C420B
triadic
#38420B #0B3842 #420B38
tetradic
#38420B #0B4230 #150B42 #420B1C
square
#38420B #0B4230 #150B42 #420B1C
split-complementary
#38420B #0B1C42 #300B42
monochromatic
#161A04 #161A04 #38420B #657614 #91AB1C

Accessibility & contrast

On white

10.76
#38420B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38420B
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38420B#FFFFFF#000000##FFFFFF
##38420B1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E02
Deuteranopia (green-blind)
#463E10
Tritanopia (blue-blind)
#3C3E37
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #38420b;
/* rgb */ color: rgb(56, 66, 11);
/* oklch */ color: oklch(35.8% 0.076 119.6);
Tailwind
colors: {
  custom: {
    50: '#71764f',
    500: '#38420b',
    950: '#000000',
  },
}
SCSS
$custom: #38420b;
$custom-light: #71764f;
$custom-dark: #000000;
JSON
{
  "hex": "#38420b",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 70.909,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35811,
    "c": 0.0764,
    "h": 119.6
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#38420B
secondary
#3A2A7F
accent
#3AEE5A
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #38420B

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

Preview Lab → · Contrast checker → · Palette generator →

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