#2D4910#2D4910

#2D4910 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.0% C 0.089 H 132.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2D4910
RGBrgb(45, 73, 16)
HSLhsl(89, 64%, 17%)
HSVhsv(89, 78%, 29%)
CMYKcmyk(38.4%, 0%, 78.1%, 71.4%)
CIE-LABlab(27.74, -21.26, 29.26)
CIE-LCHlch(27.74, 36.17, 126.00°)
OKLaboklab(36.99% -0.0599 0.0661)
OKLCHoklch(36.99% 0.089 132.2)
XYZxyz(3.5582, 5.3602, 1.3373)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4910 #2C1049
analogous
#494910 #2D4910 #104910
triadic
#2D4910 #102D49 #49102D
tetradic
#2D4910 #104949 #2C1049 #491010
square
#2D4910 #104949 #2C1049 #491010
split-complementary
#2D4910 #101049 #491049
monochromatic
#0F1906 #0F1906 #2D4910 #4C7B1B #6BAD26

Accessibility & contrast

On white

10.14
#2D4910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2D4910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4910
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4910#FFFFFF#000000##FFFFFF
##2D49101.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4307
Deuteranopia (green-blind)
#494115
Tritanopia (blue-blind)
#2E463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d4910;
/* rgb */ color: rgb(45, 73, 16);
/* oklch */ color: oklch(37.0% 0.089 132.2);
Tailwind
colors: {
  custom: {
    50: '#697c52',
    500: '#2d4910',
    950: '#000000',
  },
}
SCSS
$custom: #2d4910;
$custom-light: #697c52;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4910",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 16
  },
  "hsl": {
    "h": 89.474,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36988,
    "c": 0.0892,
    "h": 132.2
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#2D4910
secondary
#5A3283
accent
#41E792
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D4910

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

Preview Lab → · Contrast checker → · Palette generator →

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