#27420D#27420D

#27420D is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.5% C 0.085 H 132.8°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#27420D
RGBrgb(39, 66, 13)
HSLhsl(91, 67%, 15%)
HSVhsv(91, 80%, 26%)
CMYKcmyk(40.9%, 0%, 80.3%, 74.1%)
CIE-LABlab(24.82, -20.46, 27.52)
CIE-LCHlch(24.82, 34.30, 126.63°)
OKLaboklab(34.5% -0.0575 0.0621)
OKLCHoklch(34.5% 0.085 132.8)
XYZxyz(2.8575, 4.3567, 1.0711)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27420D #280D42
analogous
#41420D #27420D #0D420D
triadic
#27420D #0D2742 #420D27
tetradic
#27420D #0D4142 #280D42 #420D0D
square
#27420D #0D4142 #280D42 #420D0D
split-complementary
#27420D #0D0D42 #420D41
monochromatic
#0F1A05 #0F1A05 #27420D #457517 #63A821

Accessibility & contrast

On white

11.22
#27420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#27420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27420D
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27420D#FFFFFF#000000##FFFFFF
##27420D1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C05
Deuteranopia (green-blind)
#413A12
Tritanopia (blue-blind)
#273F38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #27420d;
/* rgb */ color: rgb(39, 66, 13);
/* oklch */ color: oklch(34.5% 0.085 132.8);
Tailwind
colors: {
  custom: {
    50: '#64764f',
    500: '#27420d',
    950: '#000000',
  },
}
SCSS
$custom: #27420d;
$custom-light: #64764f;
$custom-dark: #000000;
JSON
{
  "hex": "#27420d",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 90.566,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34498,
    "c": 0.08465,
    "h": 132.8
  },
  "luminance": 0.04357
}

Semantic roles & 50–950 ramp

primary
#27420D
secondary
#562D7E
accent
#3EEA96
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #27420D

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

Preview Lab → · Contrast checker → · Palette generator →

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