#2A4009#2A4009

#2A4009 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.1% C 0.083 H 129.4°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#2A4009
RGBrgb(42, 64, 9)
HSLhsl(84, 75%, 14%)
HSVhsv(84, 86%, 25%)
CMYKcmyk(34.4%, 0%, 85.9%, 74.9%)
CIE-LABlab(24.25, -18.40, 28.72)
CIE-LCHlch(24.25, 34.11, 122.64°)
OKLaboklab(34.08% -0.0525 0.0638)
OKLCHoklch(34.08% 0.083 129.4)
XYZxyz(2.8375, 4.1787, 0.9155)
Luminance0.0418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4009 #1F0940
analogous
#403B09 #2A4009 #0F4009
triadic
#2A4009 #092A40 #40092A
tetradic
#2A4009 #09403B #1F0940 #40090F
square
#2A4009 #09403B #1F0940 #40090F
split-complementary
#2A4009 #090F40 #3B0940
monochromatic
#121B04 #121B04 #2A4009 #4D7611 #70AB18

Accessibility & contrast

On white

11.44
#2A4009 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2A4009 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4009
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4009#FFFFFF#000000##FFFFFF
##2A40091.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B01
Deuteranopia (green-blind)
#40390E
Tritanopia (blue-blind)
#2B3D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a4009;
/* rgb */ color: rgb(42, 64, 9);
/* oklch */ color: oklch(34.1% 0.083 129.4);
Tailwind
colors: {
  custom: {
    50: '#66754d',
    500: '#2a4009',
    950: '#000000',
  },
}
SCSS
$custom: #2a4009;
$custom-light: #66754d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4009",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 9
  },
  "hsl": {
    "h": 84,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34081,
    "c": 0.08265,
    "h": 129.4
  },
  "luminance": 0.04179
}

Semantic roles & 50–950 ramp

primary
#2A4009
secondary
#4A277E
accent
#36F281
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A4009

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

Preview Lab → · Contrast checker → · Palette generator →

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