#2A420A#2A420A

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

Color values

HEX#2A420A
RGBrgb(42, 66, 10)
HSLhsl(86, 74%, 15%)
HSVhsv(86, 85%, 26%)
CMYKcmyk(36.4%, 0%, 84.8%, 74.1%)
CIE-LABlab(24.98, -19.39, 29.02)
CIE-LCHlch(24.98, 34.90, 123.74°)
OKLaboklab(34.68% -0.0551 0.0646)
OKLCHoklch(34.68% 0.085 130.5)
XYZxyz(2.9578, 4.4105, 0.9826)
Luminance0.0441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A420A #220A42
analogous
#423E0A #2A420A #0E420A
triadic
#2A420A #0A2A42 #420A2A
tetradic
#2A420A #0A423E #220A42 #420A0E
square
#2A420A #0A423E #220A42 #420A0E
split-complementary
#2A420A #0A0E42 #3E0A42
monochromatic
#111B04 #111B04 #2A420A #4C7712 #6EAC1A

Accessibility & contrast

On white

11.16
#2A420A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A420A
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A420A#FFFFFF#000000##FFFFFF
##2A420A1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C02
Deuteranopia (green-blind)
#423B10
Tritanopia (blue-blind)
#2B3F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a420a;
/* rgb */ color: rgb(42, 66, 10);
/* oklch */ color: oklch(34.7% 0.085 130.5);
Tailwind
colors: {
  custom: {
    50: '#66764e',
    500: '#2a420a',
    950: '#000000',
  },
}
SCSS
$custom: #2a420a;
$custom-light: #66764e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a420a",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 85.714,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34678,
    "c": 0.08493,
    "h": 130.5
  },
  "luminance": 0.04411
}

Semantic roles & 50–950 ramp

primary
#2A420A
secondary
#4E297F
accent
#37F087
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A420A

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

Preview Lab → · Contrast checker → · Palette generator →

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