#27420C#27420C

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

Color values

HEX#27420C
RGBrgb(39, 66, 12)
HSLhsl(90, 69%, 15%)
HSVhsv(90, 82%, 26%)
CMYKcmyk(40.9%, 0%, 81.8%, 74.1%)
CIE-LABlab(24.81, -20.55, 27.95)
CIE-LCHlch(24.81, 34.69, 126.31°)
OKLaboklab(34.49% -0.0578 0.0628)
OKLCHoklch(34.49% 0.085 132.6)
XYZxyz(2.8512, 4.3542, 1.0380)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27420C #270C42
analogous
#42420C #27420C #0C420C
triadic
#27420C #0C2742 #420C27
tetradic
#27420C #0C4242 #270C42 #420C0C
square
#27420C #0C4242 #270C42 #420C0C
split-complementary
#27420C #0C0C42 #420C42
monochromatic
#0F1A05 #0F1A05 #27420C #467615 #64AA1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #27420c;
/* rgb */ color: rgb(39, 66, 12);
/* oklch */ color: oklch(34.5% 0.085 132.6);
Tailwind
colors: {
  custom: {
    50: '#64764f',
    500: '#27420c',
    950: '#000000',
  },
}
SCSS
$custom: #27420c;
$custom-light: #64764f;
$custom-dark: #000000;
JSON
{
  "hex": "#27420c",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 90,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3449,
    "c": 0.08538,
    "h": 132.6
  },
  "luminance": 0.04354
}

Semantic roles & 50–950 ramp

primary
#27420C
secondary
#552C7E
accent
#3CEC94
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #27420C

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

Preview Lab → · Contrast checker → · Palette generator →

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