#2D5D13#2D5D13

#2D5D13 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.8% C 0.116 H 137.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2D5D13
RGBrgb(45, 93, 19)
HSLhsl(99, 66%, 22%)
HSVhsv(99, 80%, 36%)
CMYKcmyk(51.6%, 0%, 79.6%, 63.5%)
CIE-LABlab(34.87, -30.51, 35.16)
CIE-LCHlch(34.87, 46.55, 130.94°)
OKLaboklab(42.84% -0.0847 0.0789)
OKLCHoklch(42.84% 0.116 137)
XYZxyz(5.1139, 8.4333, 1.9743)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D13 #43135D
analogous
#525D13 #2D5D13 #135D1E
triadic
#2D5D13 #132D5D #5D132D
tetradic
#2D5D13 #13525D #43135D #5D1E13
square
#2D5D13 #13525D #43135D #5D1E13
split-complementary
#2D5D13 #1E135D #5D1352
monochromatic
#0C1905 #142A09 #2D5D13 #46901D #5EC328

Accessibility & contrast

On white

7.82
#2D5D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2D5D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5D13
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D13#FFFFFF#000000##FFFFFF
##2D5D131.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605405
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#2A594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d5d13;
/* rgb */ color: rgb(45, 93, 19);
/* oklch */ color: oklch(42.8% 0.116 137.0);
Tailwind
colors: {
  custom: {
    50: '#6b8b57',
    500: '#2d5d13',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d13;
$custom-light: #6b8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d13",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 19
  },
  "hsl": {
    "h": 98.919,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42837,
    "c": 0.11575,
    "h": 137
  },
  "luminance": 0.08434
}

Semantic roles & 50–950 ramp

primary
#2D5D13
secondary
#743795
accent
#3FE9AD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5D13

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

Preview Lab → · Contrast checker → · Palette generator →

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