#2D420D#2D420D

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

Color values

HEX#2D420D
RGBrgb(45, 66, 13)
HSLhsl(84, 67%, 15%)
HSVhsv(84, 80%, 26%)
CMYKcmyk(31.8%, 0%, 80.3%, 74.1%)
CIE-LABlab(25.21, -17.82, 28.04)
CIE-LCHlch(25.21, 33.23, 122.44°)
OKLaboklab(34.92% -0.0508 0.063)
OKLCHoklch(34.92% 0.081 128.9)
XYZxyz(3.1030, 4.4833, 1.0826)
Luminance0.0448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D420D #220D42
analogous
#423C0D #2D420D #12420D
triadic
#2D420D #0D2D42 #420D2D
tetradic
#2D420D #0D423C #220D42 #420D12
square
#2D420D #0D423C #220D42 #420D12
split-complementary
#2D420D #0D1242 #3C0D42
monochromatic
#111A05 #111A05 #2D420D #507517 #73A821

Accessibility & contrast

On white

11.07
#2D420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D420D
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D420D#FFFFFF#000000##FFFFFF
##2D420D1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D05
Deuteranopia (green-blind)
#433B12
Tritanopia (blue-blind)
#2F3F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d420d;
/* rgb */ color: rgb(45, 66, 13);
/* oklch */ color: oklch(34.9% 0.081 128.9);
Tailwind
colors: {
  custom: {
    50: '#68764f',
    500: '#2d420d',
    950: '#000000',
  },
}
SCSS
$custom: #2d420d;
$custom-light: #68764f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d420d",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 83.774,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34921,
    "c": 0.08095,
    "h": 128.9
  },
  "luminance": 0.04483
}

Semantic roles & 50–950 ramp

primary
#2D420D
secondary
#4D2D7E
accent
#3EEA82
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D420D

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

Preview Lab → · Contrast checker → · Palette generator →

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