#295F17#295F17

#295F17 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.118 H 139.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#295F17
RGBrgb(41, 95, 23)
HSLhsl(105, 61%, 23%)
HSVhsv(105, 76%, 37%)
CMYKcmyk(56.8%, 0%, 75.8%, 62.7%)
CIE-LABlab(35.43, -32.36, 34.03)
CIE-LCHlch(35.43, 46.96, 133.56°)
OKLaboklab(43.26% -0.0891 0.0773)
OKLCHoklch(43.26% 0.118 139.1)
XYZxyz(5.1611, 8.7173, 2.2211)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295F17 #4D175F
analogous
#4D5F17 #295F17 #175F29
triadic
#295F17 #17295F #5F1729
tetradic
#295F17 #174D5F #4D175F #5F2917
square
#295F17 #174D5F #4D175F #5F2917
split-complementary
#295F17 #29175F #5F174D
monochromatic
#0B1906 #142E0B #295F17 #3E9023 #54C22F

Accessibility & contrast

On white

7.65
#295F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#295F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295F17
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295F17#FFFFFF#000000##FFFFFF
##295F171.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560B
Deuteranopia (green-blind)
#5B521E
Tritanopia (blue-blind)
#245C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #295f17;
/* rgb */ color: rgb(41, 95, 23);
/* oklch */ color: oklch(43.3% 0.118 139.1);
Tailwind
colors: {
  custom: {
    50: '#698d59',
    500: '#295f17',
    950: '#000000',
  },
}
SCSS
$custom: #295f17;
$custom-light: #698d59;
$custom-dark: #000000;
JSON
{
  "hex": "#295f17",
  "rgb": {
    "r": 41,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 105,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43264,
    "c": 0.11792,
    "h": 139.1
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

primary
#295F17
secondary
#7F3C96
accent
#44E4BC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #295F17

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

Preview Lab → · Contrast checker → · Palette generator →

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