#2D4B0E#2D4B0E

#2D4B0E is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.6% C 0.094 H 132.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#2D4B0E
RGBrgb(45, 75, 14)
HSLhsl(90, 69%, 17%)
HSVhsv(90, 81%, 29%)
CMYKcmyk(40%, 0%, 81.3%, 70.6%)
CIE-LABlab(28.44, -22.43, 30.83)
CIE-LCHlch(28.44, 38.12, 126.04°)
OKLaboklab(37.55% -0.0632 0.069)
OKLCHoklch(37.55% 0.094 132.5)
XYZxyz(3.6775, 5.6216, 1.3067)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4B0E #2C0E4B
analogous
#4B4A0E #2D4B0E #0F4B0E
triadic
#2D4B0E #0E2D4B #4B0E2D
tetradic
#2D4B0E #0E4B4A #2C0E4B #4B0E0F
square
#2D4B0E #0E4B4A #2C0E4B #4B0E0F
split-complementary
#2D4B0E #0E0F4B #4A0E4B
monochromatic
#0F1A05 #0F1A05 #2D4B0E #4C7F18 #6BB221

Accessibility & contrast

On white

9.89
#2D4B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2D4B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4B0E
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4B0E#FFFFFF#000000##FFFFFF
##2D4B0E1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4b0e;
/* rgb */ color: rgb(45, 75, 14);
/* oklch */ color: oklch(37.6% 0.094 132.5);
Tailwind
colors: {
  custom: {
    50: '#697d51',
    500: '#2d4b0e',
    950: '#000000',
  },
}
SCSS
$custom: #2d4b0e;
$custom-light: #697d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4b0e",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 14
  },
  "hsl": {
    "h": 89.508,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37554,
    "c": 0.09361,
    "h": 132.5
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

primary
#2D4B0E
secondary
#5A2F86
accent
#3CEB92
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D4B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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