#2E370A#2E370A

#2E370A is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.8% C 0.066 H 120.2°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#2E370A
RGBrgb(46, 55, 10)
HSLhsl(72, 69%, 13%)
HSVhsv(72, 82%, 22%)
CMYKcmyk(16.4%, 0%, 81.8%, 78.4%)
CIE-LABlab(21.34, -11.31, 25.40)
CIE-LCHlch(21.34, 27.80, 114.00°)
OKLaboklab(31.8% -0.0333 0.0572)
OKLCHoklch(31.8% 0.066 120.2)
XYZxyz(2.5477, 3.3351, 0.7966)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E370A #130A37
analogous
#37290A #2E370A #17370A
triadic
#2E370A #0A2E37 #370A2E
tetradic
#2E370A #0A3729 #130A37 #370A17
square
#2E370A #0A3729 #130A37 #370A17
split-complementary
#2E370A #0A1737 #290A37
monochromatic
#161A05 #161A05 #2E370A #596B13 #859F1D

Accessibility & contrast

On white

12.60
#2E370A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2E370A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E370A
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E370A#FFFFFF#000000##FFFFFF
##2E370A1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3304
Deuteranopia (green-blind)
#3A330E
Tritanopia (blue-blind)
#31342E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e370a;
/* rgb */ color: rgb(46, 55, 10);
/* oklch */ color: oklch(31.8% 0.066 120.2);
Tailwind
colors: {
  custom: {
    50: '#686d4c',
    500: '#2e370a',
    950: '#000000',
  },
}
SCSS
$custom: #2e370a;
$custom-light: #686d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e370a",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 10
  },
  "hsl": {
    "h": 72,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31802,
    "c": 0.06619,
    "h": 120.2
  },
  "luminance": 0.03335
}

Semantic roles & 50–950 ramp

primary
#2E370A
secondary
#382874
accent
#3CEC5F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E370A

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

Preview Lab → · Contrast checker → · Palette generator →

#2E370A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva