#2A4608#2A4608

#2A4608 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.8% C 0.092 H 131.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#2A4608
RGBrgb(42, 70, 8)
HSLhsl(87, 79%, 15%)
HSVhsv(87, 89%, 27%)
CMYKcmyk(40%, 0%, 88.6%, 72.5%)
CIE-LABlab(26.42, -21.58, 31.18)
CIE-LCHlch(26.42, 37.92, 124.69°)
OKLaboklab(35.85% -0.0612 0.0688)
OKLCHoklch(35.85% 0.092 131.7)
XYZxyz(3.1888, 4.8900, 1.0055)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4608 #240846
analogous
#464308 #2A4608 #0B4608
triadic
#2A4608 #082A46 #46082A
tetradic
#2A4608 #084643 #240846 #46080B
square
#2A4608 #084643 #240846 #46080B
split-complementary
#2A4608 #080B46 #430846
monochromatic
#101B03 #101B03 #2A4608 #4B7D0E #6CB415

Accessibility & contrast

On white

10.62
#2A4608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4608
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4608#FFFFFF#000000##FFFFFF
##2A46081.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4608;
/* rgb */ color: rgb(42, 70, 8);
/* oklch */ color: oklch(35.8% 0.092 131.7);
Tailwind
colors: {
  custom: {
    50: '#67794e',
    500: '#2a4608',
    950: '#000000',
  },
}
SCSS
$custom: #2a4608;
$custom-light: #67794e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4608",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 8
  },
  "hsl": {
    "h": 87.097,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35845,
    "c": 0.09204,
    "h": 131.7
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#2A4608
secondary
#502684
accent
#32F68A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A4608

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

Preview Lab → · Contrast checker → · Palette generator →

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