#2A4A09#2A4A09

#2A4A09 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.0% C 0.097 H 133.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2A4A09
RGBrgb(42, 74, 9)
HSLhsl(90, 78%, 16%)
HSVhsv(90, 88%, 29%)
CMYKcmyk(43.2%, 0%, 87.8%, 71%)
CIE-LABlab(27.87, -23.50, 32.14)
CIE-LCHlch(27.87, 39.81, 126.18°)
OKLaboklab(37.03% -0.0663 0.071)
OKLCHoklch(37.03% 0.097 133.1)
XYZxyz(3.4529, 5.4094, 1.1206)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4A09 #29094A
analogous
#4A4A09 #2A4A09 #0A4A09
triadic
#2A4A09 #092A4A #4A092A
tetradic
#2A4A09 #094A4A #29094A #4A090A
square
#2A4A09 #094A4A #29094A #4A090A
split-complementary
#2A4A09 #090A4A #4A094A
monochromatic
#0F1B03 #0F1B03 #2A4A09 #498110 #68B716

Accessibility & contrast

On white

10.09
#2A4A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2A4A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4A09
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4A09#FFFFFF#000000##FFFFFF
##2A4A091.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#494110
Tritanopia (blue-blind)
#2A473E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a4a09;
/* rgb */ color: rgb(42, 74, 9);
/* oklch */ color: oklch(37.0% 0.097 133.1);
Tailwind
colors: {
  custom: {
    50: '#677d4f',
    500: '#2a4a09',
    950: '#000000',
  },
}
SCSS
$custom: #2a4a09;
$custom-light: #677d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4a09",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 9
  },
  "hsl": {
    "h": 89.538,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.37033,
    "c": 0.09711,
    "h": 133.1
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#2A4A09
secondary
#572787
accent
#33F592
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A4A09

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

Preview Lab → · Contrast checker → · Palette generator →

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