#295017#295017

#295017 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.9% C 0.096 H 137.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#295017
RGBrgb(41, 80, 23)
HSLhsl(101, 55%, 20%)
HSVhsv(101, 71%, 31%)
CMYKcmyk(48.8%, 0%, 71.2%, 68.6%)
CIE-LABlab(30.08, -25.63, 28.38)
CIE-LCHlch(30.08, 38.24, 132.09°)
OKLaboklab(38.87% -0.0709 0.0654)
OKLCHoklch(38.87% 0.096 137.3)
XYZxyz(3.9376, 6.2704, 1.8133)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295017 #3E1750
analogous
#455017 #295017 #175022
triadic
#295017 #172950 #501729
tetradic
#295017 #174550 #3E1750 #502217
square
#295017 #174550 #3E1750 #502217
split-complementary
#295017 #221750 #501745
monochromatic
#0C1807 #112009 #295017 #418025 #5AAF32

Accessibility & contrast

On white

9.32
#295017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#295017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295017
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295017#FFFFFF#000000##FFFFFF
##2950171.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534910
Deuteranopia (green-blind)
#4E461C
Tritanopia (blue-blind)
#274D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #295017;
/* rgb */ color: rgb(41, 80, 23);
/* oklch */ color: oklch(38.9% 0.096 137.3);
Tailwind
colors: {
  custom: {
    50: '#678157',
    500: '#295017',
    950: '#000000',
  },
}
SCSS
$custom: #295017;
$custom-light: #678157;
$custom-dark: #000000;
JSON
{
  "hex": "#295017",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 101.053,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38867,
    "c": 0.09641,
    "h": 137.3
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#295017
secondary
#6F3C87
accent
#49DFAF
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #295017

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

Preview Lab → · Contrast checker → · Palette generator →

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