#27331C#27331C

#27331C is a dark, muted yellow-green. Relative luminance 0.029; OKLCH L 30.3% C 0.042 H 131.0°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#27331C
RGBrgb(39, 51, 28)
HSLhsl(91, 29%, 15%)
HSVhsv(91, 45%, 20%)
CMYKcmyk(23.5%, 0%, 45.1%, 80%)
CIE-LABlab(19.57, -10.17, 12.99)
CIE-LCHlch(19.57, 16.49, 128.07°)
OKLaboklab(30.31% -0.0278 0.0321)
OKLCHoklch(30.31% 0.042 131)
XYZxyz(2.2301, 2.8828, 1.5373)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27331C #281C33
analogous
#32331C #27331C #1C331C
triadic
#27331C #1C2733 #331C27
tetradic
#27331C #1C3233 #281C33 #331C1C
square
#27331C #1C3233 #281C33 #331C1C
split-complementary
#27331C #1C1C33 #331C32
monochromatic
#0F140B #0F140B #27331C #455B32 #638247

Accessibility & contrast

On white

13.32
#27331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#27331C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27331C
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27331C#FFFFFF#000000##FFFFFF
##27331C1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301A
Deuteranopia (green-blind)
#332F1D
Tritanopia (blue-blind)
#28312D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #27331c;
/* rgb */ color: rgb(39, 51, 28);
/* oklch */ color: oklch(30.3% 0.042 131.0);
Tailwind
colors: {
  custom: {
    50: '#616a58',
    500: '#27331c',
    950: '#000000',
  },
}
SCSS
$custom: #27331c;
$custom-light: #616a58;
$custom-dark: #000000;
JSON
{
  "hex": "#27331c",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 91.304,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.30306,
    "c": 0.04245,
    "h": 131
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#27331C
secondary
#564467
accent
#62C596
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #27331C

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

Preview Lab → · Contrast checker → · Palette generator →

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