#2A4809#2A4809

#2A4809 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.4% C 0.094 H 132.5°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2A4809
RGBrgb(42, 72, 9)
HSLhsl(89, 78%, 16%)
HSVhsv(89, 88%, 28%)
CMYKcmyk(41.7%, 0%, 87.5%, 71.8%)
CIE-LABlab(27.15, -22.51, 31.46)
CIE-LCHlch(27.15, 38.69, 125.59°)
OKLaboklab(36.44% -0.0636 0.0696)
OKLCHoklch(36.44% 0.094 132.5)
XYZxyz(3.3215, 5.1465, 1.0768)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4809 #270948
analogous
#484609 #2A4809 #0B4809
triadic
#2A4809 #092A48 #48092A
tetradic
#2A4809 #094846 #270948 #48090B
square
#2A4809 #094846 #270948 #48090B
split-complementary
#2A4809 #090B48 #460948
monochromatic
#101B03 #101B03 #2A4809 #4A7E10 #69B517

Accessibility & contrast

On white

10.35
#2A4809 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2A4809 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4809
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4809#FFFFFF#000000##FFFFFF
##2A48091.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4200
Deuteranopia (green-blind)
#473F10
Tritanopia (blue-blind)
#2A453C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a4809;
/* rgb */ color: rgb(42, 72, 9);
/* oklch */ color: oklch(36.4% 0.094 132.5);
Tailwind
colors: {
  custom: {
    50: '#677b4e',
    500: '#2a4809',
    950: '#000000',
  },
}
SCSS
$custom: #2a4809;
$custom-light: #677b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4809",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 9
  },
  "hsl": {
    "h": 88.571,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36443,
    "c": 0.09428,
    "h": 132.5
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#2A4809
secondary
#542785
accent
#34F48F
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A4809

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

Preview Lab → · Contrast checker → · Palette generator →

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