#2D420A#2D420A

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

Color values

HEX#2D420A
RGBrgb(45, 66, 10)
HSLhsl(83, 74%, 15%)
HSVhsv(83, 85%, 26%)
CMYKcmyk(31.8%, 0%, 84.8%, 74.1%)
CIE-LABlab(25.19, -18.03, 29.29)
CIE-LCHlch(25.19, 34.40, 121.62°)
OKLaboklab(34.9% -0.0516 0.0651)
OKLCHoklch(34.9% 0.083 128.4)
XYZxyz(3.0852, 4.4762, 0.9885)
Luminance0.0448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D420A #1F0A42
analogous
#423B0A #2D420A #11420A
triadic
#2D420A #0A2D42 #420A2D
tetradic
#2D420A #0A423B #1F0A42 #420A11
square
#2D420A #0A423B #1F0A42 #420A11
split-complementary
#2D420A #0A1142 #3B0A42
monochromatic
#121B04 #121B04 #2D420A #517712 #75AC1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2d420a;
/* rgb */ color: rgb(45, 66, 10);
/* oklch */ color: oklch(34.9% 0.083 128.4);
Tailwind
colors: {
  custom: {
    50: '#68764e',
    500: '#2d420a',
    950: '#000000',
  },
}
SCSS
$custom: #2d420a;
$custom-light: #68764e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d420a",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 82.5,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34897,
    "c": 0.0831,
    "h": 128.4
  },
  "luminance": 0.04476
}

Semantic roles & 50–950 ramp

primary
#2D420A
secondary
#49297F
accent
#37F07D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D420A

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

Preview Lab → · Contrast checker → · Palette generator →

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