#2D5D0E#2D5D0E

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

Color values

HEX#2D5D0E
RGBrgb(45, 93, 14)
HSLhsl(96, 74%, 21%)
HSVhsv(96, 85%, 36%)
CMYKcmyk(51.6%, 0%, 84.9%, 63.5%)
CIE-LABlab(34.84, -30.84, 36.96)
CIE-LCHlch(34.84, 48.14, 129.84°)
OKLaboklab(42.8% -0.0859 0.0819)
OKLCHoklch(42.8% 0.119 136.4)
XYZxyz(5.0757, 8.4180, 1.7728)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D0E #3E0E5D
analogous
#545D0E #2D5D0E #0E5D16
triadic
#2D5D0E #0E2D5D #5D0E2D
tetradic
#2D5D0E #0E545D #3E0E5D #5D160E
square
#2D5D0E #0E545D #3E0E5D #5D160E
split-complementary
#2D5D0E #160E5D #5D0E54
monochromatic
#0D1B04 #132806 #2D5D0E #479216 #60C71E

Accessibility & contrast

On white

7.83
#2D5D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D5D0E
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D0E#FFFFFF#000000##FFFFFF
##2D5D0E1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615400
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#2B594E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d5d0e;
/* rgb */ color: rgb(45, 93, 14);
/* oklch */ color: oklch(42.8% 0.119 136.4);
Tailwind
colors: {
  custom: {
    50: '#6c8b54',
    500: '#2d5d0e',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d0e;
$custom-light: #6c8b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d0e",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 14
  },
  "hsl": {
    "h": 96.456,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42802,
    "c": 0.11869,
    "h": 136.4
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#2D5D0E
secondary
#6E3097
accent
#37F0A8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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