#2D5A13#2D5A13

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

Color values

HEX#2D5A13
RGBrgb(45, 90, 19)
HSLhsl(98, 65%, 21%)
HSVhsv(98, 79%, 35%)
CMYKcmyk(50%, 0%, 78.9%, 64.7%)
CIE-LABlab(33.81, -29.17, 34.11)
CIE-LCHlch(33.81, 44.88, 130.53°)
OKLaboklab(41.97% -0.081 0.0767)
OKLCHoklch(41.97% 0.112 136.6)
XYZxyz(4.8558, 7.9169, 1.8882)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5A13 #40135A
analogous
#515A13 #2D5A13 #135A1D
triadic
#2D5A13 #132D5A #5A132D
tetradic
#2D5A13 #13515A #40135A #5A1D13
square
#2D5A13 #13515A #40135A #5A1D13
split-complementary
#2D5A13 #1D135A #5A1351
monochromatic
#0D1905 #142708 #2D5A13 #468D1E #60BF28

Accessibility & contrast

On white

8.13
#2D5A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2D5A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5A13
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5A13#FFFFFF#000000##FFFFFF
##2D5A131.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5206
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#2B564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d5a13;
/* rgb */ color: rgb(45, 90, 19);
/* oklch */ color: oklch(42.0% 0.112 136.6);
Tailwind
colors: {
  custom: {
    50: '#6b8956',
    500: '#2d5a13',
    950: '#000000',
  },
}
SCSS
$custom: #2d5a13;
$custom-light: #6b8956;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5a13",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 98.028,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41966,
    "c": 0.11162,
    "h": 136.6
  },
  "luminance": 0.07917
}

Semantic roles & 50–950 ramp

primary
#2D5A13
secondary
#713792
accent
#40E8AA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5A13

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

Preview Lab → · Contrast checker → · Palette generator →

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