#2A420D#2A420D

#2A420D is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.083 H 130.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2A420D
RGBrgb(42, 66, 13)
HSLhsl(87, 67%, 15%)
HSVhsv(87, 80%, 26%)
CMYKcmyk(36.4%, 0%, 80.3%, 74.1%)
CIE-LABlab(25.01, -19.17, 27.77)
CIE-LCHlch(25.01, 33.74, 124.61°)
OKLaboklab(34.7% -0.0542 0.0625)
OKLCHoklch(34.7% 0.083 130.9)
XYZxyz(2.9757, 4.4176, 1.0766)
Luminance0.0442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A420D #250D42
analogous
#423F0D #2A420D #0F420D
triadic
#2A420D #0D2A42 #420D2A
tetradic
#2A420D #0D423F #250D42 #420D0F
square
#2A420D #0D423F #250D42 #420D0F
split-complementary
#2A420D #0D0F42 #3F0D42
monochromatic
#101A05 #101A05 #2A420D #4B7517 #6BA821

Accessibility & contrast

On white

11.15
#2A420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2A420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A420D
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A420D#FFFFFF#000000##FFFFFF
##2A420D1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C05
Deuteranopia (green-blind)
#423B12
Tritanopia (blue-blind)
#2B3F38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a420d;
/* rgb */ color: rgb(42, 66, 13);
/* oklch */ color: oklch(34.7% 0.083 130.9);
Tailwind
colors: {
  custom: {
    50: '#66764f',
    500: '#2a420d',
    950: '#000000',
  },
}
SCSS
$custom: #2a420d;
$custom-light: #66764f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a420d",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 87.17,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34703,
    "c": 0.08278,
    "h": 130.9
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

primary
#2A420D
secondary
#522D7E
accent
#3EEA8C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A420D

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

Preview Lab → · Contrast checker → · Palette generator →

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