#295C17#295C17

#295C17 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.114 H 138.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#295C17
RGBrgb(41, 92, 23)
HSLhsl(104, 60%, 23%)
HSVhsv(104, 75%, 36%)
CMYKcmyk(55.4%, 0%, 75%, 63.9%)
CIE-LABlab(34.37, -31.07, 32.93)
CIE-LCHlch(34.37, 45.28, 133.33°)
OKLaboklab(42.39% -0.0856 0.075)
OKLCHoklch(42.39% 0.114 138.8)
XYZxyz(4.8961, 8.1872, 2.1327)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295C17 #4A175C
analogous
#4B5C17 #295C17 #175C28
triadic
#295C17 #17295C #5C1729
tetradic
#295C17 #174B5C #4A175C #5C2817
square
#295C17 #174B5C #4A175C #5C2817
split-complementary
#295C17 #28175C #5C174B
monochromatic
#0B1806 #132B0B #295C17 #3F8D23 #55BE2F

Accessibility & contrast

On white

7.96
#295C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#295C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295C17
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295C17#FFFFFF#000000##FFFFFF
##295C171.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F530C
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#25594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #295c17;
/* rgb */ color: rgb(41, 92, 23);
/* oklch */ color: oklch(42.4% 0.114 138.8);
Tailwind
colors: {
  custom: {
    50: '#698b58',
    500: '#295c17',
    950: '#000000',
  },
}
SCSS
$custom: #295c17;
$custom-light: #698b58;
$custom-dark: #000000;
JSON
{
  "hex": "#295c17",
  "rgb": {
    "r": 41,
    "g": 92,
    "b": 23
  },
  "hsl": {
    "h": 104.348,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42387,
    "c": 0.11378,
    "h": 138.8
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#295C17
secondary
#7C3C93
accent
#45E3BA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #295C17

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

Preview Lab → · Contrast checker → · Palette generator →

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