#2D5711#2D5711

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

Color values

HEX#2D5711
RGBrgb(45, 87, 17)
HSLhsl(96, 67%, 20%)
HSVhsv(96, 80%, 34%)
CMYKcmyk(48.3%, 0%, 80.5%, 65.9%)
CIE-LABlab(32.73, -27.96, 33.84)
CIE-LCHlch(32.73, 43.90, 129.56°)
OKLaboklab(41.08% -0.0779 0.0759)
OKLCHoklch(41.08% 0.109 135.8)
XYZxyz(4.5914, 7.4145, 1.7194)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5711 #3B1157
analogous
#505711 #2D5711 #115718
triadic
#2D5711 #112D57 #57112D
tetradic
#2D5711 #115057 #3B1157 #571811
square
#2D5711 #115057 #3B1157 #571811
split-complementary
#2D5711 #181157 #571150
monochromatic
#0D1A05 #132407 #2D5711 #478A1B #62BD25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D5711#FFFFFF#000000##FFFFFF
##2D57111.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)
#5A4F04
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#2B534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d5711;
/* rgb */ color: rgb(45, 87, 17);
/* oklch */ color: oklch(41.1% 0.109 135.8);
Tailwind
colors: {
  custom: {
    50: '#6b8755',
    500: '#2d5711',
    950: '#000000',
  },
}
SCSS
$custom: #2d5711;
$custom-light: #6b8755;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5711",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 96,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41077,
    "c": 0.10876,
    "h": 135.8
  },
  "luminance": 0.07415
}

Semantic roles & 50–950 ramp

primary
#2D5711
secondary
#6B3490
accent
#3EEAA5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5711

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

Preview Lab → · Contrast checker → · Palette generator →

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