#2D5E0E#2D5E0E

#2D5E0E is a dark, vivid yellow-green. Relative luminance 0.086; OKLCH L 43.1% C 0.120 H 136.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2D5E0E
RGBrgb(45, 94, 14)
HSLhsl(97, 74%, 21%)
HSVhsv(97, 85%, 37%)
CMYKcmyk(52.1%, 0%, 85.1%, 63.1%)
CIE-LABlab(35.19, -31.28, 37.29)
CIE-LCHlch(35.19, 48.67, 129.99°)
OKLaboklab(43.09% -0.0871 0.0826)
OKLCHoklch(43.09% 0.12 136.5)
XYZxyz(5.1640, 8.5946, 1.8022)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E0E #3F0E5E
analogous
#555E0E #2D5E0E #0E5E17
triadic
#2D5E0E #0E2D5E #5E0E2D
tetradic
#2D5E0E #0E555E #3F0E5E #5E170E
square
#2D5E0E #0E555E #3F0E5E #5E170E
split-complementary
#2D5E0E #170E5E #5E0E55
monochromatic
#0D1B04 #132906 #2D5E0E #469316 #60C91E

Accessibility & contrast

On white

7.72
#2D5E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2D5E0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5E0E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E0E#FFFFFF#000000##FFFFFF
##2D5E0E1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625500
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#2A5A4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5e0e;
/* rgb */ color: rgb(45, 94, 14);
/* oklch */ color: oklch(43.1% 0.120 136.5);
Tailwind
colors: {
  custom: {
    50: '#6c8c54',
    500: '#2d5e0e',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e0e;
$custom-light: #6c8c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e0e",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 14
  },
  "hsl": {
    "h": 96.75,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43092,
    "c": 0.12002,
    "h": 136.5
  },
  "luminance": 0.08595
}

Semantic roles & 50–950 ramp

primary
#2D5E0E
secondary
#703098
accent
#37F1A9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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