#27400C#27400C

#27400C is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.082 H 131.9°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#27400C
RGBrgb(39, 64, 12)
HSLhsl(89, 68%, 15%)
HSVhsv(89, 81%, 25%)
CMYKcmyk(39.1%, 0%, 81.2%, 74.9%)
CIE-LABlab(24.08, -19.51, 27.22)
CIE-LCHlch(24.08, 33.49, 125.63°)
OKLaboklab(33.89% -0.055 0.0613)
OKLCHoklch(33.89% 0.082 131.9)
XYZxyz(2.7364, 4.1246, 0.9997)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27400C #250C40
analogous
#403F0C #27400C #0D400C
triadic
#27400C #0C2740 #400C27
tetradic
#27400C #0C403F #250C40 #400C0D
square
#27400C #0C403F #250C40 #400C0D
split-complementary
#27400C #0C0D40 #3F0C40
monochromatic
#101A05 #101A05 #27400C #467416 #66A71F

Accessibility & contrast

On white

11.51
#27400C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#27400C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27400C
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27400C#FFFFFF#000000##FFFFFF
##27400C1.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A04
Deuteranopia (green-blind)
#403911
Tritanopia (blue-blind)
#283D36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #27400c;
/* rgb */ color: rgb(39, 64, 12);
/* oklch */ color: oklch(33.9% 0.082 131.9);
Tailwind
colors: {
  custom: {
    50: '#64754f',
    500: '#27400c',
    950: '#000000',
  },
}
SCSS
$custom: #27400c;
$custom-light: #64754f;
$custom-dark: #000000;
JSON
{
  "hex": "#27400c",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 88.846,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33893,
    "c": 0.08237,
    "h": 131.9
  },
  "luminance": 0.04125
}

Semantic roles & 50–950 ramp

primary
#27400C
secondary
#522C7C
accent
#3DEB91
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #27400C

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

Preview Lab → · Contrast checker → · Palette generator →

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