#27420A#27420A

#27420A is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.087 H 132.3°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#27420A
RGBrgb(39, 66, 10)
HSLhsl(89, 74%, 15%)
HSVhsv(89, 85%, 26%)
CMYKcmyk(40.9%, 0%, 84.8%, 74.1%)
CIE-LABlab(24.80, -20.69, 28.78)
CIE-LCHlch(24.80, 35.44, 125.72°)
OKLaboklab(34.47% -0.0584 0.0642)
OKLCHoklch(34.47% 0.087 132.3)
XYZxyz(2.8397, 4.3496, 0.9770)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27420A #250A42
analogous
#42410A #27420A #0B420A
triadic
#27420A #0A2742 #420A27
tetradic
#27420A #0A4241 #250A42 #420A0B
square
#27420A #0A4241 #250A42 #420A0B
split-complementary
#27420A #0A0B42 #410A42
monochromatic
#101B04 #101B04 #27420A #467712 #66AC1A

Accessibility & contrast

On white

11.23
#27420A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27420A
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27420A#FFFFFF#000000##FFFFFF
##27420A1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C02
Deuteranopia (green-blind)
#413A10
Tritanopia (blue-blind)
#273F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #27420a;
/* rgb */ color: rgb(39, 66, 10);
/* oklch */ color: oklch(34.5% 0.087 132.3);
Tailwind
colors: {
  custom: {
    50: '#64764e',
    500: '#27420a',
    950: '#000000',
  },
}
SCSS
$custom: #27420a;
$custom-light: #64764e;
$custom-dark: #000000;
JSON
{
  "hex": "#27420a",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 88.929,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34473,
    "c": 0.08678,
    "h": 132.3
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#27420A
secondary
#52297F
accent
#37F091
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #27420A

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

Preview Lab → · Contrast checker → · Palette generator →

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