#2D420B#2D420B

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

Color values

HEX#2D420B
RGBrgb(45, 66, 11)
HSLhsl(83, 71%, 15%)
HSVhsv(83, 83%, 26%)
CMYKcmyk(31.8%, 0%, 83.3%, 74.1%)
CIE-LABlab(25.19, -17.97, 28.89)
CIE-LCHlch(25.19, 34.02, 121.88°)
OKLaboklab(34.9% -0.0514 0.0644)
OKLCHoklch(34.9% 0.082 128.6)
XYZxyz(3.0908, 4.4784, 1.0181)
Luminance0.0448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D420B #200B42
analogous
#423B0B #2D420B #11420B
triadic
#2D420B #0B2D42 #420B2D
tetradic
#2D420B #0B423B #200B42 #420B11
square
#2D420B #0B423B #200B42 #420B11
split-complementary
#2D420B #0B1142 #3B0B42
monochromatic
#121A04 #121A04 #2D420B #517614 #75AB1C

Accessibility & contrast

On white

11.08
#2D420B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D420B
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D420B#FFFFFF#000000##FFFFFF
##2D420B1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d420b;
/* rgb */ color: rgb(45, 66, 11);
/* oklch */ color: oklch(34.9% 0.082 128.6);
Tailwind
colors: {
  custom: {
    50: '#68764e',
    500: '#2d420b',
    950: '#000000',
  },
}
SCSS
$custom: #2d420b;
$custom-light: #68764e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d420b",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 82.909,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34904,
    "c": 0.08242,
    "h": 128.6
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

primary
#2D420B
secondary
#4A2A7F
accent
#3AEE7F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D420B

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

Preview Lab → · Contrast checker → · Palette generator →

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