#2E420C#2E420C

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

Color values

HEX#2E420C
RGBrgb(46, 66, 12)
HSLhsl(82, 69%, 15%)
HSVhsv(82, 82%, 26%)
CMYKcmyk(30.3%, 0%, 81.8%, 74.1%)
CIE-LABlab(25.27, -17.44, 28.57)
CIE-LCHlch(25.27, 33.47, 121.40°)
OKLaboklab(34.99% -0.0499 0.0639)
OKLCHoklch(34.99% 0.081 128)
XYZxyz(3.1413, 4.5037, 1.0516)
Luminance0.0450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E420C #200C42
analogous
#423B0C #2E420C #13420C
triadic
#2E420C #0C2E42 #420C2E
tetradic
#2E420C #0C423B #200C42 #420C13
square
#2E420C #0C423B #200C42 #420C13
split-complementary
#2E420C #0C1342 #3B0C42
monochromatic
#121A05 #121A05 #2E420C #527615 #76AA1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E420C#FFFFFF#000000##FFFFFF
##2E420C1.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)
#463D04
Deuteranopia (green-blind)
#433C11
Tritanopia (blue-blind)
#303F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e420c;
/* rgb */ color: rgb(46, 66, 12);
/* oklch */ color: oklch(35.0% 0.081 128.0);
Tailwind
colors: {
  custom: {
    50: '#69764f',
    500: '#2e420c',
    950: '#000000',
  },
}
SCSS
$custom: #2e420c;
$custom-light: #69764f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e420c",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 82.222,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34988,
    "c": 0.08111,
    "h": 128
  },
  "luminance": 0.04504
}

Semantic roles & 50–950 ramp

primary
#2E420C
secondary
#4A2C7E
accent
#3CEC7D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E420C

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

Preview Lab → · Contrast checker → · Palette generator →

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