#27331E#27331E

#27331E is a dark, muted yellow-green. Relative luminance 0.029; OKLCH L 30.4% C 0.040 H 132.5°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#27331E
RGBrgb(39, 51, 30)
HSLhsl(94, 26%, 16%)
HSVhsv(94, 41%, 20%)
CMYKcmyk(23.5%, 0%, 41.2%, 80%)
CIE-LABlab(19.61, -9.82, 11.73)
CIE-LCHlch(19.61, 15.29, 129.94°)
OKLaboklab(30.35% -0.0268 0.0292)
OKLCHoklch(30.35% 0.04 132.5)
XYZxyz(2.2548, 2.8927, 1.6676)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27331E #2A1E33
analogous
#31331E #27331E #1E331F
triadic
#27331E #1E2733 #331E27
tetradic
#27331E #1E3133 #2A1E33 #331F1E
square
#27331E #1E3133 #2A1E33 #331F1E
split-complementary
#27331E #1F1E33 #331E31
monochromatic
#0F130B #0F130B #27331E #445A35 #62804B

Accessibility & contrast

On white

13.30
#27331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27331E
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27331E#FFFFFF#000000##FFFFFF
##27331E1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301D
Deuteranopia (green-blind)
#332F1F
Tritanopia (blue-blind)
#27312E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #27331e;
/* rgb */ color: rgb(39, 51, 30);
/* oklch */ color: oklch(30.4% 0.040 132.5);
Tailwind
colors: {
  custom: {
    50: '#616a5a',
    500: '#27331e',
    950: '#000000',
  },
}
SCSS
$custom: #27331e;
$custom-light: #616a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#27331e",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 94.286,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.30352,
    "c": 0.0396,
    "h": 132.5
  },
  "luminance": 0.02893
}

Semantic roles & 50–950 ramp

primary
#27331E
secondary
#594766
accent
#65C29B
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #27331E

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

Preview Lab → · Contrast checker → · Palette generator →

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