#2D5A16#2D5A16

#2D5A16 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.0% C 0.110 H 137.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2D5A16
RGBrgb(45, 90, 22)
HSLhsl(100, 61%, 22%)
HSVhsv(100, 76%, 35%)
CMYKcmyk(50%, 0%, 75.6%, 64.7%)
CIE-LABlab(33.83, -28.92, 32.87)
CIE-LCHlch(33.83, 43.78, 131.34°)
OKLaboklab(41.99% -0.0801 0.0746)
OKLCHoklch(41.99% 0.11 137)
XYZxyz(4.8830, 7.9278, 2.0318)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5A16 #43165A
analogous
#4F5A16 #2D5A16 #165A21
triadic
#2D5A16 #162D5A #5A162D
tetradic
#2D5A16 #164F5A #43165A #5A2116
square
#2D5A16 #164F5A #43165A #5A2116
split-complementary
#2D5A16 #21165A #5A164F
monochromatic
#0C1906 #14290A #2D5A16 #468B22 #5EBC2E

Accessibility & contrast

On white

8.12
#2D5A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2D5A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5A16
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5A16#FFFFFF#000000##FFFFFF
##2D5A161.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520B
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#2B574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d5a16;
/* rgb */ color: rgb(45, 90, 22);
/* oklch */ color: oklch(42.0% 0.110 137.0);
Tailwind
colors: {
  custom: {
    50: '#6b8958',
    500: '#2d5a16',
    950: '#000000',
  },
}
SCSS
$custom: #2d5a16;
$custom-light: #6b8958;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5a16",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 22
  },
  "hsl": {
    "h": 99.706,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.10951,
    "h": 137
  },
  "luminance": 0.07928
}

Semantic roles & 50–950 ramp

primary
#2D5A16
secondary
#743B91
accent
#44E4AE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5A16

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

Preview Lab → · Contrast checker → · Palette generator →

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