#295E17#295E17

#295E17 is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.0% C 0.117 H 139.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#295E17
RGBrgb(41, 94, 23)
HSLhsl(105, 61%, 23%)
HSVhsv(105, 76%, 37%)
CMYKcmyk(56.4%, 0%, 75.5%, 63.1%)
CIE-LABlab(35.08, -31.93, 33.67)
CIE-LCHlch(35.08, 46.40, 133.49°)
OKLaboklab(42.97% -0.0879 0.0765)
OKLCHoklch(42.97% 0.117 139)
XYZxyz(5.0716, 8.5383, 2.1912)
Luminance0.0854 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295E17 #4C175E
analogous
#4C5E17 #295E17 #175E28
triadic
#295E17 #17295E #5E1729
tetradic
#295E17 #174C5E #4C175E #5E2817
square
#295E17 #174C5E #4C175E #5E2817
split-complementary
#295E17 #28175E #5E174C
monochromatic
#0B1906 #142D0B #295E17 #3E8F23 #54C02F

Accessibility & contrast

On white

7.76
#295E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#295E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295E17
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295E17#FFFFFF#000000##FFFFFF
##295E171.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550C
Deuteranopia (green-blind)
#5A511E
Tritanopia (blue-blind)
#245B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #295e17;
/* rgb */ color: rgb(41, 94, 23);
/* oklch */ color: oklch(43.0% 0.117 139.0);
Tailwind
colors: {
  custom: {
    50: '#698c59',
    500: '#295e17',
    950: '#000000',
  },
}
SCSS
$custom: #295e17;
$custom-light: #698c59;
$custom-dark: #000000;
JSON
{
  "hex": "#295e17",
  "rgb": {
    "r": 41,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 104.789,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42972,
    "c": 0.11655,
    "h": 139
  },
  "luminance": 0.08539
}

Semantic roles & 50–950 ramp

primary
#295E17
secondary
#7E3C95
accent
#44E4BB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #295E17

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

Preview Lab → · Contrast checker → · Palette generator →

#295E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva