#2D4E16#2D4E16

#2D4E16 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.5% C 0.092 H 134.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2D4E16
RGBrgb(45, 78, 22)
HSLhsl(95, 56%, 20%)
HSVhsv(95, 72%, 31%)
CMYKcmyk(42.3%, 0%, 71.8%, 69.4%)
CIE-LABlab(29.57, -23.23, 28.38)
CIE-LCHlch(29.57, 36.68, 129.30°)
OKLaboklab(38.51% -0.0647 0.0652)
OKLCHoklch(38.51% 0.092 134.8)
XYZxyz(3.9513, 6.0644, 1.7213)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E16 #37164E
analogous
#494E16 #2D4E16 #164E1B
triadic
#2D4E16 #162D4E #4E162D
tetradic
#2D4E16 #16494E #37164E #4E1B16
square
#2D4E16 #16494E #37164E #4E1B16
split-complementary
#2D4E16 #1B164E #4E1649
monochromatic
#0E1807 #111E09 #2D4E16 #497E23 #64AD31

Accessibility & contrast

On white

9.49
#2D4E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4E16
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E16#FFFFFF#000000##FFFFFF
##2D4E161.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470F
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#2C4B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4e16;
/* rgb */ color: rgb(45, 78, 22);
/* oklch */ color: oklch(38.5% 0.092 134.8);
Tailwind
colors: {
  custom: {
    50: '#698056',
    500: '#2d4e16',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e16;
$custom-light: #698056;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e16",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 22
  },
  "hsl": {
    "h": 95.357,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38505,
    "c": 0.09185,
    "h": 134.8
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#2D4E16
secondary
#673A85
accent
#49DFA1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4E16

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

Preview Lab → · Contrast checker → · Palette generator →

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