#2D5A10#2D5A10

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

Color values

HEX#2D5A10
RGBrgb(45, 90, 16)
HSLhsl(96, 70%, 21%)
HSVhsv(96, 82%, 35%)
CMYKcmyk(50%, 0%, 82.2%, 64.7%)
CIE-LABlab(33.79, -29.39, 35.26)
CIE-LCHlch(33.79, 45.90, 129.81°)
OKLaboklab(41.94% -0.0819 0.0787)
OKLCHoklch(41.94% 0.114 136.1)
XYZxyz(4.8318, 7.9073, 1.7618)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5A10 #3D105A
analogous
#525A10 #2D5A10 #105A18
triadic
#2D5A10 #102D5A #5A102D
tetradic
#2D5A10 #10525A #3D105A #5A1810
square
#2D5A10 #10525A #3D105A #5A1810
split-complementary
#2D5A10 #18105A #5A1052
monochromatic
#0D1A05 #132607 #2D5A10 #478E19 #61C222

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D5A10#FFFFFF#000000##FFFFFF
##2D5A101.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)
#5D5201
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#2B564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d5a10;
/* rgb */ color: rgb(45, 90, 16);
/* oklch */ color: oklch(41.9% 0.114 136.1);
Tailwind
colors: {
  custom: {
    50: '#6b8955',
    500: '#2d5a10',
    950: '#000000',
  },
}
SCSS
$custom: #2d5a10;
$custom-light: #6b8955;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5a10",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 96.486,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41943,
    "c": 0.11352,
    "h": 136.1
  },
  "luminance": 0.07908
}

Semantic roles & 50–950 ramp

primary
#2D5A10
secondary
#6D3393
accent
#3BEDA7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5A10

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

Preview Lab → · Contrast checker → · Palette generator →

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