#295217#295217

#295217 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.5% C 0.099 H 137.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#295217
RGBrgb(41, 82, 23)
HSLhsl(102, 56%, 21%)
HSVhsv(102, 72%, 32%)
CMYKcmyk(50%, 0%, 72%, 67.8%)
CIE-LABlab(30.80, -26.57, 29.16)
CIE-LCHlch(30.80, 39.45, 132.34°)
OKLaboklab(39.46% -0.0734 0.067)
OKLCHoklch(39.46% 0.099 137.6)
XYZxyz(4.0863, 6.5676, 1.8628)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295217 #401752
analogous
#465217 #295217 #175222
triadic
#295217 #172952 #521729
tetradic
#295217 #174652 #401752 #522217
square
#295217 #174652 #401752 #522217
split-complementary
#295217 #221752 #521746
monochromatic
#0C1807 #11220A #295217 #418224 #59B232

Accessibility & contrast

On white

9.08
#295217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#295217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295217
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295217#FFFFFF#000000##FFFFFF
##2952171.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0F
Deuteranopia (green-blind)
#4F471C
Tritanopia (blue-blind)
#264F46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #295217;
/* rgb */ color: rgb(41, 82, 23);
/* oklch */ color: oklch(39.5% 0.099 137.6);
Tailwind
colors: {
  custom: {
    50: '#678357',
    500: '#295217',
    950: '#000000',
  },
}
SCSS
$custom: #295217;
$custom-light: #678357;
$custom-dark: #000000;
JSON
{
  "hex": "#295217",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 101.695,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39455,
    "c": 0.0994,
    "h": 137.6
  },
  "luminance": 0.06568
}

Semantic roles & 50–950 ramp

primary
#295217
secondary
#713C89
accent
#48DFB1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #295217

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

Preview Lab → · Contrast checker → · Palette generator →

#295217 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva