#2A4209#2A4209

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

Color values

HEX#2A4209
RGBrgb(42, 66, 9)
HSLhsl(85, 76%, 15%)
HSVhsv(85, 86%, 26%)
CMYKcmyk(36.4%, 0%, 86.4%, 74.1%)
CIE-LABlab(24.98, -19.45, 29.42)
CIE-LCHlch(24.98, 35.27, 123.47°)
OKLaboklab(34.67% -0.0554 0.0653)
OKLCHoklch(34.67% 0.086 130.3)
XYZxyz(2.9524, 4.4083, 0.9537)
Luminance0.0441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4209 #210942
analogous
#423E09 #2A4209 #0E4209
triadic
#2A4209 #092A42 #42092A
tetradic
#2A4209 #09423E #210942 #42090E
square
#2A4209 #09423E #210942 #42090E
split-complementary
#2A4209 #090E42 #3E0942
monochromatic
#111B04 #111B04 #2A4209 #4C7810 #6FAE18

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A4209#FFFFFF#000000##FFFFFF
##2A42091.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)
#453C01
Deuteranopia (green-blind)
#423B0F
Tritanopia (blue-blind)
#2B3F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a4209;
/* rgb */ color: rgb(42, 66, 9);
/* oklch */ color: oklch(34.7% 0.086 130.3);
Tailwind
colors: {
  custom: {
    50: '#66764d',
    500: '#2a4209',
    950: '#000000',
  },
}
SCSS
$custom: #2a4209;
$custom-light: #66764d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4209",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 9
  },
  "hsl": {
    "h": 85.263,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34671,
    "c": 0.0856,
    "h": 130.3
  },
  "luminance": 0.04408
}

Semantic roles & 50–950 ramp

primary
#2A4209
secondary
#4C2780
accent
#35F385
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A4209

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

Preview Lab → · Contrast checker → · Palette generator →

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