#2E420B#2E420B

#2E420B is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.082 H 127.8°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2E420B
RGBrgb(46, 66, 11)
HSLhsl(82, 71%, 15%)
HSVhsv(82, 83%, 26%)
CMYKcmyk(30.3%, 0%, 83.3%, 74.1%)
CIE-LABlab(25.26, -17.51, 28.98)
CIE-LCHlch(25.26, 33.86, 121.14°)
OKLaboklab(34.98% -0.0502 0.0646)
OKLCHoklch(34.98% 0.082 127.8)
XYZxyz(3.1353, 4.5014, 1.0202)
Luminance0.0450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E420B #1F0B42
analogous
#423A0B #2E420B #12420B
triadic
#2E420B #0B2E42 #420B2E
tetradic
#2E420B #0B423A #1F0B42 #420B12
square
#2E420B #0B423A #1F0B42 #420B12
split-complementary
#2E420B #0B1242 #3A0B42
monochromatic
#121A04 #121A04 #2E420B #537614 #77AB1C

Accessibility & contrast

On white

11.05
#2E420B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E420B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E420B
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E420B#FFFFFF#000000##FFFFFF
##2E420B1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D03
Deuteranopia (green-blind)
#433B10
Tritanopia (blue-blind)
#303F37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e420b;
/* rgb */ color: rgb(46, 66, 11);
/* oklch */ color: oklch(35.0% 0.082 127.8);
Tailwind
colors: {
  custom: {
    50: '#69764e',
    500: '#2e420b',
    950: '#000000',
  },
}
SCSS
$custom: #2e420b;
$custom-light: #69764e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e420b",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 81.818,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.3498,
    "c": 0.08182,
    "h": 127.8
  },
  "luminance": 0.04501
}

Semantic roles & 50–950 ramp

primary
#2E420B
secondary
#492A7F
accent
#3AEE7B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E420B

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

Preview Lab → · Contrast checker → · Palette generator →

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