#2D5810#2D5810

#2D5810 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.4% C 0.111 H 135.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2D5810
RGBrgb(45, 88, 16)
HSLhsl(96, 69%, 20%)
HSVhsv(96, 82%, 35%)
CMYKcmyk(48.9%, 0%, 81.8%, 65.5%)
CIE-LABlab(33.08, -28.48, 34.57)
CIE-LCHlch(33.08, 44.80, 129.48°)
OKLaboklab(41.36% -0.0794 0.0772)
OKLCHoklch(41.36% 0.111 135.8)
XYZxyz(4.6653, 7.5745, 1.7063)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5810 #3B1058
analogous
#515810 #2D5810 #105817
triadic
#2D5810 #102D58 #58102D
tetradic
#2D5810 #105158 #3B1058 #581710
square
#2D5810 #105158 #3B1058 #581710
split-complementary
#2D5810 #171058 #581051
monochromatic
#0D1A05 #132407 #2D5810 #478C19 #62C023

Accessibility & contrast

On white

8.35
#2D5810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2D5810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5810
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5810#FFFFFF#000000##FFFFFF
##2D58101.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5002
Deuteranopia (green-blind)
#564C18
Tritanopia (blue-blind)
#2B544A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d5810;
/* rgb */ color: rgb(45, 88, 16);
/* oklch */ color: oklch(41.4% 0.111 135.8);
Tailwind
colors: {
  custom: {
    50: '#6b8754',
    500: '#2d5810',
    950: '#000000',
  },
}
SCSS
$custom: #2d5810;
$custom-light: #6b8754;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5810",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 95.833,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41361,
    "c": 0.11078,
    "h": 135.8
  },
  "luminance": 0.07575
}

Semantic roles & 50–950 ramp

primary
#2D5810
secondary
#6B3291
accent
#3CECA5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5810

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

Preview Lab → · Contrast checker → · Palette generator →

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