#2D5F15#2D5F15

#2D5F15 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.4% C 0.117 H 137.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2D5F15
RGBrgb(45, 95, 21)
HSLhsl(101, 64%, 23%)
HSVhsv(101, 78%, 37%)
CMYKcmyk(52.6%, 0%, 77.9%, 62.7%)
CIE-LABlab(35.59, -31.23, 35.08)
CIE-LCHlch(35.59, 46.97, 131.68°)
OKLaboklab(43.43% -0.0865 0.0791)
OKLCHoklch(43.43% 0.117 137.6)
XYZxyz(5.3096, 8.7961, 2.1273)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F15 #47155F
analogous
#525F15 #2D5F15 #155F22
triadic
#2D5F15 #152D5F #5F152D
tetradic
#2D5F15 #15525F #47155F #5F2215
square
#2D5F15 #15525F #47155F #5F2215
split-complementary
#2D5F15 #22155F #5F1552
monochromatic
#0C1906 #152D0A #2D5F15 #459120 #5CC32B

Accessibility & contrast

On white

7.61
#2D5F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2D5F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5F15
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F15#FFFFFF#000000##FFFFFF
##2D5F151.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625608
Deuteranopia (green-blind)
#5C521C
Tritanopia (blue-blind)
#2A5B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5f15;
/* rgb */ color: rgb(45, 95, 21);
/* oklch */ color: oklch(43.4% 0.117 137.6);
Tailwind
colors: {
  custom: {
    50: '#6c8d58',
    500: '#2d5f15',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f15;
$custom-light: #6c8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f15",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 100.541,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43433,
    "c": 0.11717,
    "h": 137.6
  },
  "luminance": 0.08796
}

Semantic roles & 50–950 ramp

primary
#2D5F15
secondary
#783A96
accent
#41E7B1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5F15

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

Preview Lab → · Contrast checker → · Palette generator →

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