#27420B#27420B

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

Color values

HEX#27420B
RGBrgb(39, 66, 11)
HSLhsl(89, 71%, 15%)
HSVhsv(89, 83%, 26%)
CMYKcmyk(40.9%, 0%, 83.3%, 74.1%)
CIE-LABlab(24.80, -20.62, 28.37)
CIE-LCHlch(24.80, 35.07, 126.01°)
OKLaboklab(34.48% -0.0581 0.0635)
OKLCHoklch(34.48% 0.086 132.5)
XYZxyz(2.8453, 4.3518, 1.0066)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27420B #260B42
analogous
#42420B #27420B #0B420B
triadic
#27420B #0B2742 #420B27
tetradic
#27420B #0B4242 #260B42 #420B0B
square
#27420B #0B4242 #260B42 #420B0B
split-complementary
#27420B #0B0B42 #420B42
monochromatic
#0F1A04 #0F1A04 #27420B #467614 #65AB1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27420B#FFFFFF#000000##FFFFFF
##27420B1.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)
#453C03
Deuteranopia (green-blind)
#413A10
Tritanopia (blue-blind)
#273F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #27420b;
/* rgb */ color: rgb(39, 66, 11);
/* oklch */ color: oklch(34.5% 0.086 132.5);
Tailwind
colors: {
  custom: {
    50: '#64764e',
    500: '#27420b',
    950: '#000000',
  },
}
SCSS
$custom: #27420b;
$custom-light: #64764e;
$custom-dark: #000000;
JSON
{
  "hex": "#27420b",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 89.455,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34481,
    "c": 0.0861,
    "h": 132.5
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#27420B
secondary
#542A7F
accent
#3AEE92
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #27420B

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

Preview Lab → · Contrast checker → · Palette generator →

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