#27420F#27420F

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

Color values

HEX#27420F
RGBrgb(39, 66, 15)
HSLhsl(92, 63%, 16%)
HSVhsv(92, 77%, 26%)
CMYKcmyk(40.9%, 0%, 77.3%, 74.1%)
CIE-LABlab(24.83, -20.29, 26.62)
CIE-LCHlch(24.83, 33.47, 127.32°)
OKLaboklab(34.52% -0.0569 0.0605)
OKLCHoklch(34.52% 0.083 133.2)
XYZxyz(2.8711, 4.3621, 1.1425)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27420F #2A0F42
analogous
#40420F #27420F #0F4210
triadic
#27420F #0F2742 #420F27
tetradic
#27420F #0F4042 #2A0F42 #42100F
square
#27420F #0F4042 #2A0F42 #42100F
split-complementary
#27420F #100F42 #420F40
monochromatic
#0F1906 #0F1906 #27420F #44741A #62A626

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #27420f;
/* rgb */ color: rgb(39, 66, 15);
/* oklch */ color: oklch(34.5% 0.083 133.2);
Tailwind
colors: {
  custom: {
    50: '#647651',
    500: '#27420f',
    950: '#000000',
  },
}
SCSS
$custom: #27420f;
$custom-light: #647651;
$custom-dark: #000000;
JSON
{
  "hex": "#27420f",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 91.765,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34518,
    "c": 0.08305,
    "h": 133.2
  },
  "luminance": 0.04362
}

Semantic roles & 50–950 ramp

primary
#27420F
secondary
#59307C
accent
#42E699
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #27420F

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

Preview Lab → · Contrast checker → · Palette generator →

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