#2D4E0D#2D4E0D

#2D4E0D is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.4% C 0.099 H 133.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#2D4E0D
RGBrgb(45, 78, 13)
HSLhsl(90, 71%, 18%)
HSVhsv(90, 83%, 31%)
CMYKcmyk(42.3%, 0%, 83.3%, 69.4%)
CIE-LABlab(29.50, -23.98, 32.26)
CIE-LCHlch(29.50, 40.20, 126.62°)
OKLaboklab(38.42% -0.0675 0.0719)
OKLCHoklch(38.42% 0.099 133.2)
XYZxyz(3.8792, 6.0355, 1.3413)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E0D #2E0D4E
analogous
#4D4E0D #2D4E0D #0D4E0E
triadic
#2D4E0D #0D2D4E #4E0D2D
tetradic
#2D4E0D #0D4D4E #2E0D4E #4E0E0D
square
#2D4E0D #0D4D4E #2E0D4E #4E0E0D
split-complementary
#2D4E0D #0E0D4E #4E0D4D
monochromatic
#0F1A04 #0F1A04 #2D4E0D #4B8216 #6AB71E

Accessibility & contrast

On white

9.51
#2D4E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2D4E0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E0D
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E0D#FFFFFF#000000##FFFFFF
##2D4E0D1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524702
Deuteranopia (green-blind)
#4D4514
Tritanopia (blue-blind)
#2D4B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d4e0d;
/* rgb */ color: rgb(45, 78, 13);
/* oklch */ color: oklch(38.4% 0.099 133.2);
Tailwind
colors: {
  custom: {
    50: '#6a8051',
    500: '#2d4e0d',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e0d;
$custom-light: #6a8051;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e0d",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 13
  },
  "hsl": {
    "h": 90.462,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38422,
    "c": 0.0986,
    "h": 133.2
  },
  "luminance": 0.06036
}

Semantic roles & 50–950 ramp

primary
#2D4E0D
secondary
#5C2E89
accent
#3AEE95
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2D4E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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