#27420E#27420E

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

Color values

HEX#27420E
RGBrgb(39, 66, 14)
HSLhsl(91, 65%, 16%)
HSVhsv(91, 79%, 26%)
CMYKcmyk(40.9%, 0%, 78.8%, 74.1%)
CIE-LABlab(24.83, -20.38, 27.08)
CIE-LCHlch(24.83, 33.89, 126.97°)
OKLaboklab(34.51% -0.0572 0.0613)
OKLCHoklch(34.51% 0.084 133)
XYZxyz(2.8641, 4.3593, 1.1059)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27420E #290E42
analogous
#41420E #27420E #0E420F
triadic
#27420E #0E2742 #420E27
tetradic
#27420E #0E4142 #290E42 #420F0E
square
#27420E #0E4142 #290E42 #420F0E
split-complementary
#27420E #0F0E42 #420E41
monochromatic
#0F1905 #0F1905 #27420E #457419 #63A723

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27420E#FFFFFF#000000##FFFFFF
##27420E1.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)
#453C06
Deuteranopia (green-blind)
#413A13
Tritanopia (blue-blind)
#273F38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #27420e;
/* rgb */ color: rgb(39, 66, 14);
/* oklch */ color: oklch(34.5% 0.084 133.0);
Tailwind
colors: {
  custom: {
    50: '#647650',
    500: '#27420e',
    950: '#000000',
  },
}
SCSS
$custom: #27420e;
$custom-light: #647650;
$custom-dark: #000000;
JSON
{
  "hex": "#27420e",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 91.154,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34508,
    "c": 0.08386,
    "h": 133
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#27420E
secondary
#572F7D
accent
#40E897
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #27420E

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

Preview Lab → · Contrast checker → · Palette generator →

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