#27310C#27310C

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

Color values

HEX#27310C
RGBrgb(39, 49, 12)
HSLhsl(76, 61%, 12%)
HSVhsv(76, 76%, 19%)
CMYKcmyk(20.4%, 0%, 75.5%, 80.8%)
CIE-LABlab(18.60, -11.08, 21.28)
CIE-LCHlch(18.60, 23.99, 117.51°)
OKLaboklab(29.45% -0.0319 0.0493)
OKLCHoklch(29.45% 0.059 122.9)
XYZxyz(2.0014, 2.6545, 0.7547)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27310C #160C31
analogous
#31290C #27310C #15310C
triadic
#27310C #0C2731 #310C27
tetradic
#27310C #0C3129 #160C31 #310C15
square
#27310C #0C3129 #160C31 #310C15
split-complementary
#27310C #0C1531 #290C31
monochromatic
#141906 #141906 #27310C #4E6218 #759324

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #27310c;
/* rgb */ color: rgb(39, 49, 12);
/* oklch */ color: oklch(29.5% 0.059 122.9);
Tailwind
colors: {
  custom: {
    50: '#62694d',
    500: '#27310c',
    950: '#000000',
  },
}
SCSS
$custom: #27310c;
$custom-light: #62694d;
$custom-dark: #000000;
JSON
{
  "hex": "#27310c",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 76.216,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29451,
    "c": 0.05873,
    "h": 122.9
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#27310C
secondary
#3D2C6D
accent
#44E46F
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #27310C

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

Preview Lab → · Contrast checker → · Palette generator →

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