#27310E#27310E

#27310E is a dark, muted yellow-green. Relative luminance 0.027; OKLCH L 29.5% C 0.057 H 123.3°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#27310E
RGBrgb(39, 49, 14)
HSLhsl(77, 56%, 12%)
HSVhsv(77, 71%, 19%)
CMYKcmyk(20.4%, 0%, 71.4%, 80.8%)
CIE-LABlab(18.63, -10.88, 20.35)
CIE-LCHlch(18.63, 23.08, 118.14°)
OKLaboklab(29.48% -0.0311 0.0474)
OKLCHoklch(29.48% 0.057 123.3)
XYZxyz(2.0143, 2.6597, 0.8226)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27310E #180E31
analogous
#312A0E #27310E #15310E
triadic
#27310E #0E2731 #310E27
tetradic
#27310E #0E312A #180E31 #310E15
square
#27310E #0E312A #180E31 #310E15
split-complementary
#27310E #0E1531 #2A0E31
monochromatic
#131807 #131807 #27310E #4D611C #739029

Accessibility & contrast

On white

13.71
#27310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#27310E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27310E
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27310E#FFFFFF#000000##FFFFFF
##27310E1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E0A
Deuteranopia (green-blind)
#332D10
Tritanopia (blue-blind)
#292E2A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #27310e;
/* rgb */ color: rgb(39, 49, 14);
/* oklch */ color: oklch(29.5% 0.057 123.3);
Tailwind
colors: {
  custom: {
    50: '#62694e',
    500: '#27310e',
    950: '#000000',
  },
}
SCSS
$custom: #27310e;
$custom-light: #62694e;
$custom-dark: #000000;
JSON
{
  "hex": "#27310e",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 77.143,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29476,
    "c": 0.05666,
    "h": 123.3
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#27310E
secondary
#412F6C
accent
#49DF74
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #27310E

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

Preview Lab → · Contrast checker → · Palette generator →

#27310E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva