#2A4609#2A4609

#2A4609 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.9% C 0.091 H 131.8°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2A4609
RGBrgb(42, 70, 9)
HSLhsl(88, 77%, 15%)
HSVhsv(88, 87%, 27%)
CMYKcmyk(40%, 0%, 87.1%, 72.5%)
CIE-LABlab(26.43, -21.51, 30.79)
CIE-LCHlch(26.43, 37.56, 124.94°)
OKLaboklab(35.85% -0.0609 0.0681)
OKLCHoklch(35.85% 0.091 131.8)
XYZxyz(3.1943, 4.8922, 1.0344)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4609 #250946
analogous
#464309 #2A4609 #0B4609
triadic
#2A4609 #092A46 #46092A
tetradic
#2A4609 #094643 #250946 #46090B
square
#2A4609 #094643 #250946 #46090B
split-complementary
#2A4609 #090B46 #430946
monochromatic
#101B03 #101B03 #2A4609 #4B7C10 #6BB217

Accessibility & contrast

On white

10.61
#2A4609 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2A4609 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4609
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4609#FFFFFF#000000##FFFFFF
##2A46091.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494000
Deuteranopia (green-blind)
#463E10
Tritanopia (blue-blind)
#2B433B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a4609;
/* rgb */ color: rgb(42, 70, 9);
/* oklch */ color: oklch(35.9% 0.091 131.8);
Tailwind
colors: {
  custom: {
    50: '#67794e',
    500: '#2a4609',
    950: '#000000',
  },
}
SCSS
$custom: #2a4609;
$custom-light: #67794e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4609",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 9
  },
  "hsl": {
    "h": 87.541,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.35852,
    "c": 0.09141,
    "h": 131.8
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#2A4609
secondary
#522784
accent
#34F48C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A4609

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

Preview Lab → · Contrast checker → · Palette generator →

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