#295B17#295B17

#295B17 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.112 H 138.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#295B17
RGBrgb(41, 91, 23)
HSLhsl(104, 60%, 22%)
HSVhsv(104, 75%, 36%)
CMYKcmyk(54.9%, 0%, 74.7%, 64.3%)
CIE-LABlab(34.01, -30.64, 32.56)
CIE-LCHlch(34.01, 44.71, 133.25°)
OKLaboklab(42.1% -0.0844 0.0742)
OKLCHoklch(42.1% 0.112 138.7)
XYZxyz(4.8100, 8.0151, 2.1040)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295B17 #49175B
analogous
#4B5B17 #295B17 #175B27
triadic
#295B17 #17295B #5B1729
tetradic
#295B17 #174B5B #49175B #5B2717
square
#295B17 #174B5B #49175B #5B2717
split-complementary
#295B17 #27175B #5B174B
monochromatic
#0B1806 #132A0B #295B17 #3F8C23 #55BD30

Accessibility & contrast

On white

8.07
#295B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#295B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295B17
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295B17#FFFFFF#000000##FFFFFF
##295B171.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530D
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#25584D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #295b17;
/* rgb */ color: rgb(41, 91, 23);
/* oklch */ color: oklch(42.1% 0.112 138.7);
Tailwind
colors: {
  custom: {
    50: '#688a58',
    500: '#295b17',
    950: '#000000',
  },
}
SCSS
$custom: #295b17;
$custom-light: #688a58;
$custom-dark: #000000;
JSON
{
  "hex": "#295b17",
  "rgb": {
    "r": 41,
    "g": 91,
    "b": 23
  },
  "hsl": {
    "h": 104.118,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42095,
    "c": 0.11238,
    "h": 138.7
  },
  "luminance": 0.08015
}

Semantic roles & 50–950 ramp

primary
#295B17
secondary
#7B3C92
accent
#45E3B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #295B17

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

Preview Lab → · Contrast checker → · Palette generator →

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