#2D4E11#2D4E11

#2D4E11 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.5% C 0.096 H 133.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2D4E11
RGBrgb(45, 78, 17)
HSLhsl(92, 64%, 19%)
HSVhsv(92, 78%, 31%)
CMYKcmyk(42.3%, 0%, 78.2%, 69.4%)
CIE-LABlab(29.53, -23.68, 30.65)
CIE-LCHlch(29.53, 38.73, 127.70°)
OKLaboklab(38.46% -0.0664 0.0692)
OKLCHoklch(38.46% 0.096 133.8)
XYZxyz(3.9077, 6.0470, 1.4915)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E11 #32114E
analogous
#4B4E11 #2D4E11 #114E13
triadic
#2D4E11 #112D4E #4E112D
tetradic
#2D4E11 #114B4E #32114E #4E1311
square
#2D4E11 #114B4E #32114E #4E1311
split-complementary
#2D4E11 #13114E #4E114B
monochromatic
#0E1905 #101C06 #2D4E11 #4A801C #67B227

Accessibility & contrast

On white

9.50
#2D4E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4E11
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E11#FFFFFF#000000##FFFFFF
##2D4E111.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514707
Deuteranopia (green-blind)
#4D4517
Tritanopia (blue-blind)
#2D4B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4e11;
/* rgb */ color: rgb(45, 78, 17);
/* oklch */ color: oklch(38.5% 0.096 133.8);
Tailwind
colors: {
  custom: {
    50: '#698053',
    500: '#2d4e11',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e11;
$custom-light: #698053;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e11",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 92.459,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38455,
    "c": 0.09586,
    "h": 133.8
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#2D4E11
secondary
#613387
accent
#41E79B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4E11

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

Preview Lab → · Contrast checker → · Palette generator →

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