#27331A#27331A

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

Color values

HEX#27331A
RGBrgb(39, 51, 26)
HSLhsl(89, 32%, 15%)
HSVhsv(89, 49%, 20%)
CMYKcmyk(23.5%, 0%, 49%, 80%)
CIE-LABlab(19.53, -10.50, 14.23)
CIE-LCHlch(19.53, 17.69, 126.42°)
OKLaboklab(30.26% -0.0289 0.0348)
OKLCHoklch(30.26% 0.045 129.7)
XYZxyz(2.2070, 2.8735, 1.4155)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27331A #261A33
analogous
#33331A #27331A #1A331A
triadic
#27331A #1A2733 #331A27
tetradic
#27331A #1A3333 #261A33 #331A1A
square
#27331A #1A3333 #261A33 #331A1A
split-complementary
#27331A #1A1A33 #331A33
monochromatic
#0F140A #0F140A #27331A #465C2F #658443

Accessibility & contrast

On white

13.34
#27331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#27331A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27331A
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27331A#FFFFFF#000000##FFFFFF
##27331A1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27331a;
/* rgb */ color: rgb(39, 51, 26);
/* oklch */ color: oklch(30.3% 0.045 129.7);
Tailwind
colors: {
  custom: {
    50: '#616a57',
    500: '#27331a',
    950: '#000000',
  },
}
SCSS
$custom: #27331a;
$custom-light: #616a57;
$custom-dark: #000000;
JSON
{
  "hex": "#27331a",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 88.8,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.30263,
    "c": 0.04523,
    "h": 129.7
  },
  "luminance": 0.02874
}

Semantic roles & 50–950 ramp

primary
#27331A
secondary
#544168
accent
#5FC992
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #27331A

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

Preview Lab → · Contrast checker → · Palette generator →

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