#2D5116#2D5116

#2D5116 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.4% C 0.096 H 135.5°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2D5116
RGBrgb(45, 81, 22)
HSLhsl(97, 57%, 20%)
HSVhsv(97, 73%, 32%)
CMYKcmyk(44.4%, 0%, 72.8%, 68.2%)
CIE-LABlab(30.64, -24.70, 29.53)
CIE-LCHlch(30.64, 38.50, 129.92°)
OKLaboklab(39.38% -0.0687 0.0676)
OKLCHoklch(39.38% 0.096 135.5)
XYZxyz(4.1693, 6.5005, 1.7939)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5116 #3A1651
analogous
#4B5116 #2D5116 #16511C
triadic
#2D5116 #162D51 #51162D
tetradic
#2D5116 #164B51 #3A1651 #511C16
square
#2D5116 #164B51 #3A1651 #511C16
split-complementary
#2D5116 #1C1651 #51164B
monochromatic
#0D1807 #122109 #2D5116 #488123 #62B130

Accessibility & contrast

On white

9.13
#2D5116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2D5116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5116
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5116#FFFFFF#000000##FFFFFF
##2D51161.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0E
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#2C4E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d5116;
/* rgb */ color: rgb(45, 81, 22);
/* oklch */ color: oklch(39.4% 0.096 135.5);
Tailwind
colors: {
  custom: {
    50: '#698257',
    500: '#2d5116',
    950: '#000000',
  },
}
SCSS
$custom: #2d5116;
$custom-light: #698257;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5116",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 96.61,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39377,
    "c": 0.09639,
    "h": 135.5
  },
  "luminance": 0.06501
}

Semantic roles & 50–950 ramp

primary
#2D5116
secondary
#6A3A88
accent
#47E1A5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2D5116

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

Preview Lab → · Contrast checker → · Palette generator →

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