#2E370C#2E370C

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

Color values

HEX#2E370C
RGBrgb(46, 55, 12)
HSLhsl(73, 64%, 13%)
HSVhsv(73, 78%, 22%)
CMYKcmyk(16.4%, 0%, 78.2%, 78.4%)
CIE-LABlab(21.36, -11.15, 24.55)
CIE-LCHlch(21.36, 26.97, 114.43°)
OKLaboklab(31.82% -0.0326 0.0556)
OKLCHoklch(31.82% 0.064 120.4)
XYZxyz(2.5593, 3.3398, 0.8576)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E370C #150C37
analogous
#372A0C #2E370C #18370C
triadic
#2E370C #0C2E37 #370C2E
tetradic
#2E370C #0C372A #150C37 #370C18
square
#2E370C #0C372A #150C37 #370C18
split-complementary
#2E370C #0C1837 #2A0C37
monochromatic
#151905 #151905 #2E370C #586917 #829B22

Accessibility & contrast

On white

12.59
#2E370C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E370C
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E370C#FFFFFF#000000##FFFFFF
##2E370C1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e370c;
/* rgb */ color: rgb(46, 55, 12);
/* oklch */ color: oklch(31.8% 0.064 120.4);
Tailwind
colors: {
  custom: {
    50: '#686d4d',
    500: '#2e370c',
    950: '#000000',
  },
}
SCSS
$custom: #2e370c;
$custom-light: #686d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e370c",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 12
  },
  "hsl": {
    "h": 72.558,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31821,
    "c": 0.06449,
    "h": 120.4
  },
  "luminance": 0.0334
}

Semantic roles & 50–950 ramp

primary
#2E370C
secondary
#3B2C73
accent
#41E763
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E370C

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

Preview Lab → · Contrast checker → · Palette generator →

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