#27371C#27371C

#27371C is a dark, muted yellow-green. Relative luminance 0.032; OKLCH L 31.5% C 0.050 H 133.6°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#27371C
RGBrgb(39, 55, 28)
HSLhsl(96, 33%, 16%)
HSVhsv(96, 49%, 22%)
CMYKcmyk(29.1%, 0%, 49.1%, 78.4%)
CIE-LABlab(21.01, -12.58, 14.84)
CIE-LCHlch(21.01, 19.46, 130.29°)
OKLaboklab(31.47% -0.0345 0.0363)
OKLCHoklch(31.47% 0.05 133.6)
XYZxyz(2.4124, 3.2475, 1.5981)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27371C #2C1C37
analogous
#35371C #27371C #1C371F
triadic
#27371C #1C2737 #371C27
tetradic
#27371C #1C3537 #2C1C37 #371F1C
square
#27371C #1C3537 #2C1C37 #371F1C
split-complementary
#27371C #1F1C37 #371C35
monochromatic
#0E140A #0E140A #27371C #446031 #618845

Accessibility & contrast

On white

12.73
#27371C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#27371C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27371C
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27371C#FFFFFF#000000##FFFFFF
##27371C1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39331A
Deuteranopia (green-blind)
#37321E
Tritanopia (blue-blind)
#273530
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #27371c;
/* rgb */ color: rgb(39, 55, 28);
/* oklch */ color: oklch(31.5% 0.050 133.6);
Tailwind
colors: {
  custom: {
    50: '#626e58',
    500: '#27371c',
    950: '#000000',
  },
}
SCSS
$custom: #27371c;
$custom-light: #626e58;
$custom-dark: #000000;
JSON
{
  "hex": "#27371c",
  "rgb": {
    "r": 39,
    "g": 55,
    "b": 28
  },
  "hsl": {
    "h": 95.556,
    "s": 32.53,
    "l": 16.275
  },
  "oklch": {
    "l": 0.31467,
    "c": 0.05011,
    "h": 133.6
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

primary
#27371C
secondary
#5B436B
accent
#5FC99E
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050703
muted
#797A78

Preview Lab

Preview with #27371C

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

Preview Lab → · Contrast checker → · Palette generator →

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