#2A420E#2A420E

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

Color values

HEX#2A420E
RGBrgb(42, 66, 14)
HSLhsl(88, 65%, 16%)
HSVhsv(88, 79%, 26%)
CMYKcmyk(36.4%, 0%, 78.8%, 74.1%)
CIE-LABlab(25.01, -19.09, 27.33)
CIE-LCHlch(25.01, 33.34, 124.93°)
OKLaboklab(34.71% -0.0539 0.0618)
OKLCHoklch(34.71% 0.082 131.1)
XYZxyz(2.9823, 4.4203, 1.1114)
Luminance0.0442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A420E #260E42
analogous
#42400E #2A420E #10420E
triadic
#2A420E #0E2A42 #420E2A
tetradic
#2A420E #0E4240 #260E42 #420E10
square
#2A420E #0E4240 #260E42 #420E10
split-complementary
#2A420E #0E1042 #400E42
monochromatic
#101905 #101905 #2A420E #4A7419 #6AA723

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A420E#FFFFFF#000000##FFFFFF
##2A420E1.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)
#453D06
Deuteranopia (green-blind)
#423B13
Tritanopia (blue-blind)
#2B3F38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a420e;
/* rgb */ color: rgb(42, 66, 14);
/* oklch */ color: oklch(34.7% 0.082 131.1);
Tailwind
colors: {
  custom: {
    50: '#667650',
    500: '#2a420e',
    950: '#000000',
  },
}
SCSS
$custom: #2a420e;
$custom-light: #667650;
$custom-dark: #000000;
JSON
{
  "hex": "#2a420e",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 87.692,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34713,
    "c": 0.082,
    "h": 131.1
  },
  "luminance": 0.0442
}

Semantic roles & 50–950 ramp

primary
#2A420E
secondary
#532F7D
accent
#40E88D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A420E

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

Preview Lab → · Contrast checker → · Palette generator →

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