#2D4D0D#2D4D0D

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

Color values

HEX#2D4D0D
RGBrgb(45, 77, 13)
HSLhsl(90, 71%, 18%)
HSVhsv(90, 83%, 30%)
CMYKcmyk(41.6%, 0%, 83.1%, 69.8%)
CIE-LABlab(29.14, -23.49, 31.92)
CIE-LCHlch(29.14, 39.63, 126.35°)
OKLaboklab(38.13% -0.0662 0.0712)
OKLCHoklch(38.13% 0.097 132.9)
XYZxyz(3.8087, 5.8945, 1.3178)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D0D #2D0D4D
analogous
#4D4D0D #2D4D0D #0D4D0D
triadic
#2D4D0D #0D2D4D #4D0D2D
tetradic
#2D4D0D #0D4D4D #2D0D4D #4D0D0D
square
#2D4D0D #0D4D4D #2D0D4D #4D0D0D
split-complementary
#2D4D0D #0D0D4D #4D0D4D
monochromatic
#0F1A04 #0F1A04 #2D4D0D #4C8116 #6AB61F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4D0D#FFFFFF#000000##FFFFFF
##2D4D0D1.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)
#514602
Deuteranopia (green-blind)
#4C4414
Tritanopia (blue-blind)
#2D4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d4d0d;
/* rgb */ color: rgb(45, 77, 13);
/* oklch */ color: oklch(38.1% 0.097 132.9);
Tailwind
colors: {
  custom: {
    50: '#697f51',
    500: '#2d4d0d',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d0d;
$custom-light: #697f51;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d0d",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 90,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3813,
    "c": 0.09717,
    "h": 132.9
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#2D4D0D
secondary
#5B2E88
accent
#3AEE94
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2D4D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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