#27331B#27331B

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

Color values

HEX#27331B
RGBrgb(39, 51, 27)
HSLhsl(90, 31%, 15%)
HSVhsv(90, 47%, 20%)
CMYKcmyk(23.5%, 0%, 47.1%, 80%)
CIE-LABlab(19.55, -10.34, 13.61)
CIE-LCHlch(19.55, 17.09, 127.22°)
OKLaboklab(30.28% -0.0284 0.0335)
OKLCHoklch(30.28% 0.044 130.3)
XYZxyz(2.2183, 2.8781, 1.4754)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27331B #271B33
analogous
#33331B #27331B #1B331B
triadic
#27331B #1B2733 #331B27
tetradic
#27331B #1B3333 #271B33 #331B1B
square
#27331B #1B3333 #271B33 #331B1B
split-complementary
#27331B #1B1B33 #331B33
monochromatic
#0F140B #0F140B #27331B #465B30 #648345

Accessibility & contrast

On white

13.33
#27331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27331B
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27331B#FFFFFF#000000##FFFFFF
##27331B1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353019
Deuteranopia (green-blind)
#332F1C
Tritanopia (blue-blind)
#28312D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #27331b;
/* rgb */ color: rgb(39, 51, 27);
/* oklch */ color: oklch(30.3% 0.044 130.3);
Tailwind
colors: {
  custom: {
    50: '#616a57',
    500: '#27331b',
    950: '#000000',
  },
}
SCSS
$custom: #27331b;
$custom-light: #616a57;
$custom-dark: #000000;
JSON
{
  "hex": "#27331b",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 90,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.30284,
    "c": 0.04385,
    "h": 130.3
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#27331B
secondary
#554367
accent
#61C794
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #27331B

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

Preview Lab → · Contrast checker → · Palette generator →

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