#2E420A#2E420A

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

Color values

HEX#2E420A
RGBrgb(46, 66, 10)
HSLhsl(81, 74%, 15%)
HSVhsv(81, 85%, 26%)
CMYKcmyk(30.3%, 0%, 84.8%, 74.1%)
CIE-LABlab(25.26, -17.57, 29.38)
CIE-LCHlch(25.26, 34.24, 120.88°)
OKLaboklab(34.97% -0.0505 0.0653)
OKLCHoklch(34.97% 0.083 127.7)
XYZxyz(3.1297, 4.4991, 0.9906)
Luminance0.0450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E420A #1E0A42
analogous
#423A0A #2E420A #12420A
triadic
#2E420A #0A2E42 #420A2E
tetradic
#2E420A #0A423A #1E0A42 #420A12
square
#2E420A #0A423A #1E0A42 #420A12
split-complementary
#2E420A #0A1242 #3A0A42
monochromatic
#131B04 #131B04 #2E420A #537712 #78AC1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E420A#FFFFFF#000000##FFFFFF
##2E420A1.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)
#463D02
Deuteranopia (green-blind)
#433B0F
Tritanopia (blue-blind)
#303F37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e420a;
/* rgb */ color: rgb(46, 66, 10);
/* oklch */ color: oklch(35.0% 0.083 127.7);
Tailwind
colors: {
  custom: {
    50: '#69764e',
    500: '#2e420a',
    950: '#000000',
  },
}
SCSS
$custom: #2e420a;
$custom-light: #69764e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e420a",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 81.429,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34972,
    "c": 0.0825,
    "h": 127.7
  },
  "luminance": 0.04499
}

Semantic roles & 50–950 ramp

primary
#2E420A
secondary
#48297F
accent
#37F079
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E420A

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

Preview Lab → · Contrast checker → · Palette generator →

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