#2D5710#2D5710

#2D5710 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.1% C 0.109 H 135.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2D5710
RGBrgb(45, 87, 16)
HSLhsl(95, 69%, 20%)
HSVhsv(95, 82%, 34%)
CMYKcmyk(48.3%, 0%, 81.6%, 65.9%)
CIE-LABlab(32.73, -28.03, 34.23)
CIE-LCHlch(32.73, 44.24, 129.31°)
OKLaboklab(41.07% -0.0782 0.0765)
OKLCHoklch(41.07% 0.109 135.6)
XYZxyz(4.5838, 7.4114, 1.6791)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5710 #3A1057
analogous
#505710 #2D5710 #105716
triadic
#2D5710 #102D57 #57102D
tetradic
#2D5710 #105057 #3A1057 #571610
square
#2D5710 #105057 #3A1057 #571610
split-complementary
#2D5710 #161057 #571050
monochromatic
#0D1A05 #122306 #2D5710 #488B1A #62BE23

Accessibility & contrast

On white

8.46
#2D5710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2D5710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5710
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5710#FFFFFF#000000##FFFFFF
##2D57101.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F03
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#2C534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d5710;
/* rgb */ color: rgb(45, 87, 16);
/* oklch */ color: oklch(41.1% 0.109 135.6);
Tailwind
colors: {
  custom: {
    50: '#6b8754',
    500: '#2d5710',
    950: '#000000',
  },
}
SCSS
$custom: #2d5710;
$custom-light: #6b8754;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5710",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 95.493,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.4107,
    "c": 0.1094,
    "h": 135.6
  },
  "luminance": 0.07412
}

Semantic roles & 50–950 ramp

primary
#2D5710
secondary
#6A3290
accent
#3CECA4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5710

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

Preview Lab → · Contrast checker → · Palette generator →

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