#2D5B16#2D5B16

#2D5B16 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.3% C 0.111 H 137.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2D5B16
RGBrgb(45, 91, 22)
HSLhsl(100, 61%, 22%)
HSVhsv(100, 76%, 36%)
CMYKcmyk(50.5%, 0%, 75.8%, 64.3%)
CIE-LABlab(34.19, -29.37, 33.23)
CIE-LCHlch(34.19, 44.35, 131.47°)
OKLaboklab(42.28% -0.0814 0.0754)
OKLCHoklch(42.28% 0.111 137.2)
XYZxyz(4.9679, 8.0977, 2.0601)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5B16 #44165B
analogous
#505B16 #2D5B16 #165B22
triadic
#2D5B16 #162D5B #5B162D
tetradic
#2D5B16 #16505B #44165B #5B2216
square
#2D5B16 #16505B #44165B #5B2216
split-complementary
#2D5B16 #22165B #5B1650
monochromatic
#0C1906 #152A0A #2D5B16 #458C22 #5EBE2E

Accessibility & contrast

On white

8.02
#2D5B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2D5B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5B16
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5B16#FFFFFF#000000##FFFFFF
##2D5B161.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530B
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#2A584D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d5b16;
/* rgb */ color: rgb(45, 91, 22);
/* oklch */ color: oklch(42.3% 0.111 137.2);
Tailwind
colors: {
  custom: {
    50: '#6b8a58',
    500: '#2d5b16',
    950: '#000000',
  },
}
SCSS
$custom: #2d5b16;
$custom-light: #6b8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5b16",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 22
  },
  "hsl": {
    "h": 100,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42282,
    "c": 0.11092,
    "h": 137.2
  },
  "luminance": 0.08098
}

Semantic roles & 50–950 ramp

primary
#2D5B16
secondary
#753B92
accent
#44E4AF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5B16

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

Preview Lab → · Contrast checker → · Palette generator →

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