#2D5D10#2D5D10

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

Color values

HEX#2D5D10
RGBrgb(45, 93, 16)
HSLhsl(97, 71%, 21%)
HSVhsv(97, 83%, 36%)
CMYKcmyk(51.6%, 0%, 82.8%, 63.5%)
CIE-LABlab(34.85, -30.72, 36.28)
CIE-LCHlch(34.85, 47.54, 130.26°)
OKLaboklab(42.82% -0.0854 0.0808)
OKLCHoklch(42.82% 0.118 136.6)
XYZxyz(5.0899, 8.4237, 1.8478)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D10 #40105D
analogous
#545D10 #2D5D10 #105D1A
triadic
#2D5D10 #102D5D #5D102D
tetradic
#2D5D10 #10545D #40105D #5D1A10
square
#2D5D10 #10545D #40105D #5D1A10
split-complementary
#2D5D10 #1A105D #5D1054
monochromatic
#0D1A04 #142907 #2D5D10 #469119 #60C522

Accessibility & contrast

On white

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

On black

2.68
#2D5D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D5D10#FFFFFF#000000##FFFFFF
##2D5D101.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d5d10;
/* rgb */ color: rgb(45, 93, 16);
/* oklch */ color: oklch(42.8% 0.118 136.6);
Tailwind
colors: {
  custom: {
    50: '#6c8b55',
    500: '#2d5d10',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d10;
$custom-light: #6c8b55;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d10",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 16
  },
  "hsl": {
    "h": 97.403,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42815,
    "c": 0.11758,
    "h": 136.6
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#2D5D10
secondary
#713396
accent
#3AEDAA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5D10

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

Preview Lab → · Contrast checker → · Palette generator →

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