#27331F#27331F

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

Color values

HEX#27331F
RGBrgb(39, 51, 31)
HSLhsl(96, 24%, 16%)
HSVhsv(96, 39%, 20%)
CMYKcmyk(23.5%, 0%, 39.2%, 80%)
CIE-LABlab(19.63, -9.64, 11.09)
CIE-LCHlch(19.63, 14.69, 130.97°)
OKLaboklab(30.38% -0.0262 0.0277)
OKLCHoklch(30.38% 0.038 133.4)
XYZxyz(2.2678, 2.8979, 1.7359)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27331F #2B1F33
analogous
#31331F #27331F #1F3321
triadic
#27331F #1F2733 #331F27
tetradic
#27331F #1F3133 #2B1F33 #33211F
square
#27331F #1F3133 #2B1F33 #33211F
split-complementary
#27331F #211F33 #331F31
monochromatic
#0F130C #0F130C #27331F #445936 #617F4D

Accessibility & contrast

On white

13.29
#27331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27331F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27331F#FFFFFF#000000##FFFFFF
##27331F1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27331f;
/* rgb */ color: rgb(39, 51, 31);
/* oklch */ color: oklch(30.4% 0.038 133.4);
Tailwind
colors: {
  custom: {
    50: '#616a5a',
    500: '#27331f',
    950: '#000000',
  },
}
SCSS
$custom: #27331f;
$custom-light: #616a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#27331f",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 96,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.30376,
    "c": 0.03816,
    "h": 133.4
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#27331F
secondary
#5A4866
accent
#67C19D
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#050604
muted
#797A79

Preview Lab

Preview with #27331F

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

Preview Lab → · Contrast checker → · Palette generator →

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