#27310B#27310B

#27310B is a dark, muted yellow-green. Relative luminance 0.027; OKLCH L 29.4% C 0.060 H 122.7°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#27310B
RGBrgb(39, 49, 11)
HSLhsl(76, 63%, 12%)
HSVhsv(76, 78%, 19%)
CMYKcmyk(20.4%, 0%, 77.6%, 80.8%)
CIE-LABlab(18.59, -11.18, 21.71)
CIE-LCHlch(18.59, 24.42, 117.24°)
OKLaboklab(29.44% -0.0323 0.0502)
OKLCHoklch(29.44% 0.06 122.7)
XYZxyz(1.9954, 2.6521, 0.7233)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27310B #150B31
analogous
#31280B #27310B #14310B
triadic
#27310B #0B2731 #310B27
tetradic
#27310B #0B3128 #150B31 #310B14
square
#27310B #0B3128 #150B31 #310B14
split-complementary
#27310B #0B1431 #280B31
monochromatic
#141906 #141906 #27310B #4F6316 #779521

Accessibility & contrast

On white

13.72
#27310B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27310B
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27310B#FFFFFF#000000##FFFFFF
##27310B1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E06
Deuteranopia (green-blind)
#332D0E
Tritanopia (blue-blind)
#292E29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #27310b;
/* rgb */ color: rgb(39, 49, 11);
/* oklch */ color: oklch(29.4% 0.060 122.7);
Tailwind
colors: {
  custom: {
    50: '#62694c',
    500: '#27310b',
    950: '#000000',
  },
}
SCSS
$custom: #27310b;
$custom-light: #62694c;
$custom-dark: #000000;
JSON
{
  "hex": "#27310b",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 75.789,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29439,
    "c": 0.05971,
    "h": 122.7
  },
  "luminance": 0.02652
}

Semantic roles & 50–950 ramp

primary
#27310B
secondary
#3C2A6E
accent
#41E66D
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #27310B

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

Preview Lab → · Contrast checker → · Palette generator →

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