#2A4B0D#2A4B0D

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

Color values

HEX#2A4B0D
RGBrgb(42, 75, 13)
HSLhsl(92, 70%, 17%)
HSVhsv(92, 83%, 29%)
CMYKcmyk(44%, 0%, 82.7%, 70.6%)
CIE-LABlab(28.26, -23.73, 31.00)
CIE-LCHlch(28.26, 39.03, 127.43°)
OKLaboklab(37.36% -0.0666 0.0693)
OKLCHoklch(37.36% 0.096 133.9)
XYZxyz(3.5435, 5.5533, 1.2659)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B0D #2E0D4B
analogous
#494B0D #2A4B0D #0D4B0F
triadic
#2A4B0D #0D2A4B #4B0D2A
tetradic
#2A4B0D #0D494B #2E0D4B #4B0F0D
square
#2A4B0D #0D494B #2E0D4B #4B0F0D
split-complementary
#2A4B0D #0F0D4B #4B0D49
monochromatic
#0F1A05 #0F1A05 #2A4B0D #477F16 #64B31F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A4B0D#FFFFFF#000000##FFFFFF
##2A4B0D1.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)
#4E4402
Deuteranopia (green-blind)
#4A4213
Tritanopia (blue-blind)
#2A483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a4b0d;
/* rgb */ color: rgb(42, 75, 13);
/* oklch */ color: oklch(37.4% 0.096 133.9);
Tailwind
colors: {
  custom: {
    50: '#677d51',
    500: '#2a4b0d',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b0d;
$custom-light: #677d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b0d",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 13
  },
  "hsl": {
    "h": 91.935,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37357,
    "c": 0.0961,
    "h": 133.9
  },
  "luminance": 0.05553
}

Semantic roles & 50–950 ramp

primary
#2A4B0D
secondary
#5D2E86
accent
#3BED9A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A4B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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