#297717#297717

#297717 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.149 H 140.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#297717
RGBrgb(41, 119, 23)
HSLhsl(109, 68%, 28%)
HSVhsv(109, 81%, 47%)
CMYKcmyk(65.5%, 0%, 80.7%, 53.3%)
CIE-LABlab(43.84, -41.90, 42.39)
CIE-LCHlch(43.84, 59.60, 134.66°)
OKLaboklab(50.21% -0.1148 0.0947)
OKLCHoklch(50.21% 0.149 140.5)
XYZxyz(7.6656, 13.7262, 3.0559)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297717 #651777
analogous
#597717 #297717 #177735
triadic
#297717 #172977 #771729
tetradic
#297717 #175977 #651777 #773517
square
#297717 #175977 #651777 #773517
split-complementary
#297717 #351777 #771759
monochromatic
#091A05 #17440D #297717 #3BAA21 #50D731

Accessibility & contrast

On white

5.61
#297717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#297717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297717
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297717#FFFFFF#000000##FFFFFF
##2977171.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#1D7365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #297717;
/* rgb */ color: rgb(41, 119, 23);
/* oklch */ color: oklch(50.2% 0.149 140.5);
Tailwind
colors: {
  custom: {
    50: '#6e9f5c',
    500: '#297717',
    950: '#000000',
  },
}
SCSS
$custom: #297717;
$custom-light: #6e9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#297717",
  "rgb": {
    "r": 41,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 108.75,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50205,
    "c": 0.14883,
    "h": 140.5
  },
  "luminance": 0.13727
}

Semantic roles & 50–950 ramp

primary
#297717
secondary
#973EAC
accent
#3DEACA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #297717

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

Preview Lab → · Contrast checker → · Palette generator →

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