#2D4D0E#2D4D0E

#2D4D0E is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.1% C 0.097 H 133.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#2D4D0E
RGBrgb(45, 77, 14)
HSLhsl(90, 69%, 18%)
HSVhsv(90, 82%, 30%)
CMYKcmyk(41.6%, 0%, 81.8%, 69.8%)
CIE-LABlab(29.15, -23.42, 31.53)
CIE-LCHlch(29.15, 39.27, 126.61°)
OKLaboklab(38.14% -0.0659 0.0705)
OKLCHoklch(38.14% 0.097 133.1)
XYZxyz(3.8153, 5.8972, 1.3526)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D0E #2E0E4D
analogous
#4C4D0E #2D4D0E #0E4D0E
triadic
#2D4D0E #0E2D4D #4D0E2D
tetradic
#2D4D0E #0E4C4D #2E0E4D #4D0E0E
square
#2D4D0E #0E4C4D #2E0E4D #4D0E0E
split-complementary
#2D4D0E #0E0E4D #4D0E4C
monochromatic
#0F1A05 #0F1A05 #2D4D0E #4B8117 #6AB521

Accessibility & contrast

On white

9.64
#2D4D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2D4D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4D0E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D0E#FFFFFF#000000##FFFFFF
##2D4D0E1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504603
Deuteranopia (green-blind)
#4C4414
Tritanopia (blue-blind)
#2D4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d4d0e;
/* rgb */ color: rgb(45, 77, 14);
/* oklch */ color: oklch(38.1% 0.097 133.1);
Tailwind
colors: {
  custom: {
    50: '#697f52',
    500: '#2d4d0e',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d0e;
$custom-light: #697f52;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d0e",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 14
  },
  "hsl": {
    "h": 90.476,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38138,
    "c": 0.09652,
    "h": 133.1
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#2D4D0E
secondary
#5C2F88
accent
#3CEC95
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2D4D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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