#295A17#295A17

#295A17 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.8% C 0.111 H 138.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#295A17
RGBrgb(41, 90, 23)
HSLhsl(104, 59%, 22%)
HSVhsv(104, 74%, 35%)
CMYKcmyk(54.4%, 0%, 74.4%, 64.7%)
CIE-LABlab(33.66, -30.20, 32.19)
CIE-LCHlch(33.66, 44.14, 133.17°)
OKLaboklab(41.8% -0.0832 0.0734)
OKLCHoklch(41.8% 0.111 138.6)
XYZxyz(4.7251, 7.8453, 2.0757)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295A17 #48175A
analogous
#4B5A17 #295A17 #175A27
triadic
#295A17 #17295A #5A1729
tetradic
#295A17 #174B5A #48175A #5A2717
square
#295A17 #174B5A #48175A #5A2717
split-complementary
#295A17 #27175A #5A174B
monochromatic
#0B1806 #13290B #295A17 #3F8B23 #55BB30

Accessibility & contrast

On white

8.17
#295A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#295A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295A17
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295A17#FFFFFF#000000##FFFFFF
##295A171.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520D
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#25574D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #295a17;
/* rgb */ color: rgb(41, 90, 23);
/* oklch */ color: oklch(41.8% 0.111 138.6);
Tailwind
colors: {
  custom: {
    50: '#688958',
    500: '#295a17',
    950: '#000000',
  },
}
SCSS
$custom: #295a17;
$custom-light: #688958;
$custom-dark: #000000;
JSON
{
  "hex": "#295a17",
  "rgb": {
    "r": 41,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 103.881,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41802,
    "c": 0.11097,
    "h": 138.6
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

primary
#295A17
secondary
#7A3C91
accent
#45E2B8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #295A17

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

Preview Lab → · Contrast checker → · Palette generator →

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