#2A421D#2A421D

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

Color values

HEX#2A421D
RGBrgb(42, 66, 29)
HSLhsl(99, 39%, 19%)
HSVhsv(99, 56%, 26%)
CMYKcmyk(36.4%, 0%, 56.1%, 74.1%)
CIE-LABlab(25.19, -17.37, 19.49)
CIE-LCHlch(25.19, 26.11, 131.70°)
OKLaboklab(34.91% -0.0478 0.0468)
OKLCHoklch(34.91% 0.067 135.6)
XYZxyz(3.1248, 4.4773, 1.8617)
Luminance0.0448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A421D #351D42
analogous
#3C421D #2A421D #1D4222
triadic
#2A421D #1D2A42 #421D2A
tetradic
#2A421D #1D3C42 #351D42 #42221D
square
#2A421D #1D3C42 #351D42 #42221D
split-complementary
#2A421D #221D42 #421D3C
monochromatic
#0E1509 #0F170A #2A421D #456D30 #609742

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A421D#FFFFFF#000000##FFFFFF
##2A421D1.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)
#443D1A
Deuteranopia (green-blind)
#413B1F
Tritanopia (blue-blind)
#2A4039
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a421d;
/* rgb */ color: rgb(42, 66, 29);
/* oklch */ color: oklch(34.9% 0.067 135.6);
Tailwind
colors: {
  custom: {
    50: '#65765a',
    500: '#2a421d',
    950: '#000000',
  },
}
SCSS
$custom: #2a421d;
$custom-light: #65765a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a421d",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 29
  },
  "hsl": {
    "h": 98.919,
    "s": 38.947,
    "l": 18.627
  },
  "oklch": {
    "l": 0.34912,
    "c": 0.06695,
    "h": 135.6
  },
  "luminance": 0.04477
}

Semantic roles & 50–950 ramp

primary
#2A421D
secondary
#654477
accent
#59CFA5
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2A421D

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

Preview Lab → · Contrast checker → · Palette generator →

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