#2A4B0E#2A4B0E

#2A4B0E is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.4% C 0.095 H 134.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2A4B0E
RGBrgb(42, 75, 14)
HSLhsl(92, 69%, 17%)
HSVhsv(92, 81%, 29%)
CMYKcmyk(44%, 0%, 81.3%, 70.6%)
CIE-LABlab(28.26, -23.65, 30.60)
CIE-LCHlch(28.26, 38.67, 127.71°)
OKLaboklab(37.36% -0.0663 0.0686)
OKLCHoklch(37.36% 0.095 134)
XYZxyz(3.5501, 5.5559, 1.3007)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B0E #2F0E4B
analogous
#484B0E #2A4B0E #0E4B11
triadic
#2A4B0E #0E2A4B #4B0E2A
tetradic
#2A4B0E #0E484B #2F0E4B #4B110E
square
#2A4B0E #0E484B #2F0E4B #4B110E
split-complementary
#2A4B0E #110E4B #4B0E48
monochromatic
#0E1A05 #0E1A05 #2A4B0E #477F18 #64B221

Accessibility & contrast

On white

9.95
#2A4B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2A4B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B0E
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B0E#FFFFFF#000000##FFFFFF
##2A4B0E1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4404
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#2A483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a4b0e;
/* rgb */ color: rgb(42, 75, 14);
/* oklch */ color: oklch(37.4% 0.095 134.0);
Tailwind
colors: {
  custom: {
    50: '#677d51',
    500: '#2a4b0e',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b0e;
$custom-light: #677d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b0e",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 14
  },
  "hsl": {
    "h": 92.459,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37365,
    "c": 0.09543,
    "h": 134
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#2A4B0E
secondary
#5E2F86
accent
#3CEB9B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A4B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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