#2A4606#2A4606

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

Color values

HEX#2A4606
RGBrgb(42, 70, 6)
HSLhsl(86, 84%, 15%)
HSVhsv(86, 91%, 27%)
CMYKcmyk(40%, 0%, 91.4%, 72.5%)
CIE-LABlab(26.41, -21.71, 31.97)
CIE-LCHlch(26.41, 38.65, 124.18°)
OKLaboklab(35.83% -0.0617 0.07)
OKLCHoklch(35.83% 0.093 131.4)
XYZxyz(3.1778, 4.8856, 0.9478)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4606 #220646
analogous
#464206 #2A4606 #0A4606
triadic
#2A4606 #062A46 #46062A
tetradic
#2A4606 #064642 #220646 #46060A
square
#2A4606 #064642 #220646 #46060A
split-complementary
#2A4606 #060A46 #420646
monochromatic
#111C02 #111C02 #2A4606 #4C7E0B #6EB710

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A4606#FFFFFF#000000##FFFFFF
##2A46061.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)
#4A4000
Deuteranopia (green-blind)
#463E0D
Tritanopia (blue-blind)
#2B433A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a4606;
/* rgb */ color: rgb(42, 70, 6);
/* oklch */ color: oklch(35.8% 0.093 131.4);
Tailwind
colors: {
  custom: {
    50: '#67794d',
    500: '#2a4606',
    950: '#000000',
  },
}
SCSS
$custom: #2a4606;
$custom-light: #67794d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4606",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 6
  },
  "hsl": {
    "h": 86.25,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3583,
    "c": 0.09332,
    "h": 131.4
  },
  "luminance": 0.04886
}

Semantic roles & 50–950 ramp

primary
#2A4606
secondary
#4E2285
accent
#2DFA87
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2A4606

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

Preview Lab → · Contrast checker → · Palette generator →

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