#2E370F#2E370F

#2E370F is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.9% C 0.062 H 120.8°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#2E370F
RGBrgb(46, 55, 15)
HSLhsl(74, 57%, 14%)
HSVhsv(74, 73%, 22%)
CMYKcmyk(16.4%, 0%, 72.7%, 78.4%)
CIE-LABlab(21.39, -10.89, 23.11)
CIE-LCHlch(21.39, 25.55, 115.24°)
OKLaboklab(31.86% -0.0315 0.053)
OKLCHoklch(31.86% 0.062 120.8)
XYZxyz(2.5792, 3.3477, 0.9621)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E370F #180F37
analogous
#372C0F #2E370F #1A370F
triadic
#2E370F #0F2E37 #370F2E
tetradic
#2E370F #0F372C #180F37 #370F1A
square
#2E370F #0F372C #180F37 #370F1A
split-complementary
#2E370F #0F1A37 #2C0F37
monochromatic
#141807 #141807 #2E370F #56671C #7E9729

Accessibility & contrast

On white

12.58
#2E370F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E370F
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E370F#FFFFFF#000000##FFFFFF
##2E370F1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B330A
Deuteranopia (green-blind)
#3A3312
Tritanopia (blue-blind)
#31342F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e370f;
/* rgb */ color: rgb(46, 55, 15);
/* oklch */ color: oklch(31.9% 0.062 120.8);
Tailwind
colors: {
  custom: {
    50: '#686d4f',
    500: '#2e370f',
    950: '#000000',
  },
}
SCSS
$custom: #2e370f;
$custom-light: #686d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e370f",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 73.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31855,
    "c": 0.06166,
    "h": 120.8
  },
  "luminance": 0.03348
}

Semantic roles & 50–950 ramp

primary
#2E370F
secondary
#3F3171
accent
#47E06A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2E370F

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

Preview Lab → · Contrast checker → · Palette generator →

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