#2D4A16#2D4A16

#2D4A16 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.086 H 133.7°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2D4A16
RGBrgb(45, 74, 22)
HSLhsl(93, 54%, 19%)
HSVhsv(93, 70%, 29%)
CMYKcmyk(39.2%, 0%, 70.3%, 71%)
CIE-LABlab(28.15, -21.22, 26.83)
CIE-LCHlch(28.15, 34.21, 128.33°)
OKLaboklab(37.34% -0.0592 0.0619)
OKLCHoklch(37.34% 0.086 133.7)
XYZxyz(3.6757, 5.5132, 1.6294)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A16 #33164A
analogous
#474A16 #2D4A16 #164A19
triadic
#2D4A16 #162D4A #4A162D
tetradic
#2D4A16 #16474A #33164A #4A1916
square
#2D4A16 #16474A #33164A #4A1916
split-complementary
#2D4A16 #19164A #4A1647
monochromatic
#0E1807 #101B08 #2D4A16 #4A7924 #66A832

Accessibility & contrast

On white

9.99
#2D4A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D4A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A16
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A16#FFFFFF#000000##FFFFFF
##2D4A161.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4410
Deuteranopia (green-blind)
#49421A
Tritanopia (blue-blind)
#2D473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d4a16;
/* rgb */ color: rgb(45, 74, 22);
/* oklch */ color: oklch(37.3% 0.086 133.7);
Tailwind
colors: {
  custom: {
    50: '#687c56',
    500: '#2d4a16',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a16;
$custom-light: #687c56;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a16",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 22
  },
  "hsl": {
    "h": 93.462,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37342,
    "c": 0.08567,
    "h": 133.7
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#2D4A16
secondary
#623A82
accent
#4ADE9C
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4A16

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

Preview Lab → · Contrast checker → · Palette generator →

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