#2A4206#2A4206

#2A4206 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.6% C 0.088 H 129.9°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2A4206
RGBrgb(42, 66, 6)
HSLhsl(84, 83%, 14%)
HSVhsv(84, 91%, 26%)
CMYKcmyk(36.4%, 0%, 90.9%, 74.1%)
CIE-LABlab(24.96, -19.66, 30.63)
CIE-LCHlch(24.96, 36.39, 122.70°)
OKLaboklab(34.65% -0.0562 0.0672)
OKLCHoklch(34.65% 0.088 129.9)
XYZxyz(2.9359, 4.4017, 0.8672)
Luminance0.0440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4206 #1E0642
analogous
#423C06 #2A4206 #0C4206
triadic
#2A4206 #062A42 #42062A
tetradic
#2A4206 #06423C #1E0642 #42060C
square
#2A4206 #06423C #1E0642 #42060C
split-complementary
#2A4206 #060C42 #3C0642
monochromatic
#121C03 #121C03 #2A4206 #4E7A0B #71B210

Accessibility & contrast

On white

11.17
#2A4206 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2A4206 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4206
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4206#FFFFFF#000000##FFFFFF
##2A42061.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463C00
Deuteranopia (green-blind)
#423B0C
Tritanopia (blue-blind)
#2B3F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a4206;
/* rgb */ color: rgb(42, 66, 6);
/* oklch */ color: oklch(34.6% 0.088 129.9);
Tailwind
colors: {
  custom: {
    50: '#66764c',
    500: '#2a4206',
    950: '#000000',
  },
}
SCSS
$custom: #2a4206;
$custom-light: #66764c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4206",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 6
  },
  "hsl": {
    "h": 84,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34648,
    "c": 0.08764,
    "h": 129.9
  },
  "luminance": 0.04402
}

Semantic roles & 50–950 ramp

primary
#2A4206
secondary
#482282
accent
#2EFA80
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A4206

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

Preview Lab → · Contrast checker → · Palette generator →

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