#2D5E0F#2D5E0F

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

Color values

HEX#2D5E0F
RGBrgb(45, 94, 15)
HSLhsl(97, 72%, 21%)
HSVhsv(97, 84%, 37%)
CMYKcmyk(52.1%, 0%, 84%, 63.1%)
CIE-LABlab(35.20, -31.22, 36.96)
CIE-LCHlch(35.20, 48.38, 130.19°)
OKLaboklab(43.1% -0.0869 0.082)
OKLCHoklch(43.1% 0.119 136.6)
XYZxyz(5.1710, 8.5974, 1.8388)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E0F #400F5E
analogous
#555E0F #2D5E0F #0F5E19
triadic
#2D5E0F #0F2D5E #5E0F2D
tetradic
#2D5E0F #0F555E #400F5E #5E190F
square
#2D5E0F #0F555E #400F5E #5E190F
split-complementary
#2D5E0F #190F5E #5E0F55
monochromatic
#0D1A04 #142907 #2D5E0F #469317 #60C820

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D5E0F#FFFFFF#000000##FFFFFF
##2D5E0F1.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)
#5B5118
Tritanopia (blue-blind)
#2A5A4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5e0f;
/* rgb */ color: rgb(45, 94, 15);
/* oklch */ color: oklch(43.1% 0.119 136.6);
Tailwind
colors: {
  custom: {
    50: '#6c8c55',
    500: '#2d5e0f',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e0f;
$custom-light: #6c8c55;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e0f",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 15
  },
  "hsl": {
    "h": 97.215,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43099,
    "c": 0.11948,
    "h": 136.6
  },
  "luminance": 0.08598
}

Semantic roles & 50–950 ramp

primary
#2D5E0F
secondary
#713197
accent
#39EFAA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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