#2E420E#2E420E

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

Color values

HEX#2E420E
RGBrgb(46, 66, 14)
HSLhsl(83, 65%, 16%)
HSVhsv(83, 79%, 26%)
CMYKcmyk(30.3%, 0%, 78.8%, 74.1%)
CIE-LABlab(25.29, -17.28, 27.70)
CIE-LCHlch(25.29, 32.65, 121.97°)
OKLaboklab(35.01% -0.0493 0.0625)
OKLCHoklch(35.01% 0.08 128.3)
XYZxyz(3.1542, 4.5089, 1.1195)
Luminance0.0451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E420E #220E42
analogous
#423C0E #2E420E #14420E
triadic
#2E420E #0E2E42 #420E2E
tetradic
#2E420E #0E423C #220E42 #420E14
square
#2E420E #0E423C #220E42 #420E14
split-complementary
#2E420E #0E1442 #3C0E42
monochromatic
#121905 #121905 #2E420E #517419 #74A723

Accessibility & contrast

On white

11.04
#2E420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E420E
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E420E#FFFFFF#000000##FFFFFF
##2E420E1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D06
Deuteranopia (green-blind)
#433C12
Tritanopia (blue-blind)
#303F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e420e;
/* rgb */ color: rgb(46, 66, 14);
/* oklch */ color: oklch(35.0% 0.080 128.3);
Tailwind
colors: {
  custom: {
    50: '#697650',
    500: '#2e420e',
    950: '#000000',
  },
}
SCSS
$custom: #2e420e;
$custom-light: #697650;
$custom-dark: #000000;
JSON
{
  "hex": "#2e420e",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 83.077,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35006,
    "c": 0.07957,
    "h": 128.3
  },
  "luminance": 0.04509
}

Semantic roles & 50–950 ramp

primary
#2E420E
secondary
#4D2F7D
accent
#40E880
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E420E

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

Preview Lab → · Contrast checker → · Palette generator →

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