#38420A#38420A

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

Color values

HEX#38420A
RGBrgb(56, 66, 10)
HSLhsl(71, 74%, 15%)
HSVhsv(71, 85%, 26%)
CMYKcmyk(15.2%, 0%, 84.8%, 74.1%)
CIE-LABlab(26.04, -12.75, 30.40)
CIE-LCHlch(26.04, 32.96, 112.76°)
OKLaboklab(35.8% -0.038 0.0671)
OKLCHoklch(35.8% 0.077 119.5)
XYZxyz(3.6340, 4.7591, 1.0143)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38420A #140A42
analogous
#42300A #38420A #1C420A
triadic
#38420A #0A3842 #420A38
tetradic
#38420A #0A4230 #140A42 #420A1C
square
#38420A #0A4230 #140A42 #420A1C
split-complementary
#38420A #0A1C42 #300A42
monochromatic
#171B04 #171B04 #38420A #657712 #92AC1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38420A#FFFFFF#000000##FFFFFF
##38420A1.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)
#473E01
Deuteranopia (green-blind)
#463E0F
Tritanopia (blue-blind)
#3C3E37
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #38420a;
/* rgb */ color: rgb(56, 66, 10);
/* oklch */ color: oklch(35.8% 0.077 119.5);
Tailwind
colors: {
  custom: {
    50: '#71764e',
    500: '#38420a',
    950: '#000000',
  },
}
SCSS
$custom: #38420a;
$custom-light: #71764e;
$custom-dark: #000000;
JSON
{
  "hex": "#38420a",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 70.714,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35804,
    "c": 0.07708,
    "h": 119.5
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#38420A
secondary
#38297F
accent
#37F058
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #38420A

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

Preview Lab → · Contrast checker → · Palette generator →

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