#27310D#27310D

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

Color values

HEX#27310D
RGBrgb(39, 49, 13)
HSLhsl(77, 58%, 12%)
HSVhsv(77, 73%, 19%)
CMYKcmyk(20.4%, 0%, 73.5%, 80.8%)
CIE-LABlab(18.61, -10.98, 20.83)
CIE-LCHlch(18.61, 23.54, 117.81°)
OKLaboklab(29.46% -0.0315 0.0483)
OKLCHoklch(29.46% 0.058 123.1)
XYZxyz(2.0077, 2.6570, 0.7878)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27310D #170D31
analogous
#31290D #27310D #15310D
triadic
#27310D #0D2731 #310D27
tetradic
#27310D #0D3129 #170D31 #310D15
square
#27310D #0D3129 #170D31 #310D15
split-complementary
#27310D #0D1531 #290D31
monochromatic
#131806 #131806 #27310D #4D611A #749227

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27310D#FFFFFF#000000##FFFFFF
##27310D1.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)
#342E09
Deuteranopia (green-blind)
#332D10
Tritanopia (blue-blind)
#292E29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #27310d;
/* rgb */ color: rgb(39, 49, 13);
/* oklch */ color: oklch(29.5% 0.058 123.1);
Tailwind
colors: {
  custom: {
    50: '#62694d',
    500: '#27310d',
    950: '#000000',
  },
}
SCSS
$custom: #27310d;
$custom-light: #62694d;
$custom-dark: #000000;
JSON
{
  "hex": "#27310d",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 76.667,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29463,
    "c": 0.05772,
    "h": 123.1
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#27310D
secondary
#3F2E6C
accent
#47E172
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #27310D

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

Preview Lab → · Contrast checker → · Palette generator →

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