#2D4B16#2D4B16

#2D4B16 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.6% C 0.087 H 134.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2D4B16
RGBrgb(45, 75, 22)
HSLhsl(94, 55%, 19%)
HSVhsv(94, 71%, 29%)
CMYKcmyk(40%, 0%, 70.7%, 70.6%)
CIE-LABlab(28.51, -21.73, 27.22)
CIE-LCHlch(28.51, 34.83, 128.59°)
OKLaboklab(37.63% -0.0606 0.0627)
OKLCHoklch(37.63% 0.087 134)
XYZxyz(3.7430, 5.6478, 1.6518)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4B16 #34164B
analogous
#484B16 #2D4B16 #164B1A
triadic
#2D4B16 #162D4B #4B162D
tetradic
#2D4B16 #16484B #34164B #4B1A16
square
#2D4B16 #16484B #34164B #4B1A16
split-complementary
#2D4B16 #1A164B #4B1648
monochromatic
#0E1807 #111C08 #2D4B16 #497A24 #66AA32

Accessibility & contrast

On white

9.86
#2D4B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2D4B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4B16
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4B16#FFFFFF#000000##FFFFFF
##2D4B161.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450F
Deuteranopia (green-blind)
#4A421A
Tritanopia (blue-blind)
#2D4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d4b16;
/* rgb */ color: rgb(45, 75, 22);
/* oklch */ color: oklch(37.6% 0.087 134.0);
Tailwind
colors: {
  custom: {
    50: '#697d56',
    500: '#2d4b16',
    950: '#000000',
  },
}
SCSS
$custom: #2d4b16;
$custom-light: #697d56;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4b16",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 22
  },
  "hsl": {
    "h": 93.962,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37632,
    "c": 0.08722,
    "h": 134
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#2D4B16
secondary
#633A83
accent
#4ADE9E
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4B16

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

Preview Lab → · Contrast checker → · Palette generator →

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