#2D5910#2D5910

#2D5910 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.7% C 0.112 H 136.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2D5910
RGBrgb(45, 89, 16)
HSLhsl(96, 70%, 21%)
HSVhsv(96, 82%, 35%)
CMYKcmyk(49.4%, 0%, 82%, 65.1%)
CIE-LABlab(33.44, -28.94, 34.92)
CIE-LCHlch(33.44, 45.35, 129.65°)
OKLaboklab(41.65% -0.0806 0.0779)
OKLCHoklch(41.65% 0.112 136)
XYZxyz(4.7480, 7.7398, 1.7338)
Luminance0.0774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5910 #3C1059
analogous
#515910 #2D5910 #105917
triadic
#2D5910 #102D59 #59102D
tetradic
#2D5910 #105159 #3C1059 #591710
square
#2D5910 #105159 #3C1059 #591710
split-complementary
#2D5910 #171059 #591051
monochromatic
#0D1A05 #132507 #2D5910 #478D19 #61C123

Accessibility & contrast

On white

8.24
#2D5910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2D5910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5910
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5910#FFFFFF#000000##FFFFFF
##2D59101.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5102
Deuteranopia (green-blind)
#574D18
Tritanopia (blue-blind)
#2B554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d5910;
/* rgb */ color: rgb(45, 89, 16);
/* oklch */ color: oklch(41.7% 0.112 136.0);
Tailwind
colors: {
  custom: {
    50: '#6b8854',
    500: '#2d5910',
    950: '#000000',
  },
}
SCSS
$custom: #2d5910;
$custom-light: #6b8854;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5910",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 16
  },
  "hsl": {
    "h": 96.164,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41652,
    "c": 0.11216,
    "h": 136
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#2D5910
secondary
#6C3392
accent
#3BECA6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5910

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

Preview Lab → · Contrast checker → · Palette generator →

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