#297E17#297E17

#297E17 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.157 H 140.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#297E17
RGBrgb(41, 126, 23)
HSLhsl(110, 69%, 29%)
HSVhsv(110, 82%, 49%)
CMYKcmyk(67.5%, 0%, 81.7%, 50.6%)
CIE-LABlab(46.25, -44.46, 44.70)
CIE-LCHlch(46.25, 63.05, 134.85°)
OKLaboklab(52.2% -0.1217 0.0995)
OKLCHoklch(52.2% 0.157 140.7)
XYZxyz(8.5295, 15.4541, 3.3439)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297E17 #6C177E
analogous
#5D7E17 #297E17 #177E39
triadic
#297E17 #17297E #7E1729
tetradic
#297E17 #175D7E #6C177E #7E3917
square
#297E17 #175D7E #6C177E #7E3917
split-complementary
#297E17 #39177E #7E175D
monochromatic
#081A05 #184A0E #297E17 #3AB220 #52DA35

Accessibility & contrast

On white

5.13
#297E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#297E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297E17
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297E17#FFFFFF#000000##FFFFFF
##297E171.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#1A7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297e17;
/* rgb */ color: rgb(41, 126, 23);
/* oklch */ color: oklch(52.2% 0.157 140.7);
Tailwind
colors: {
  custom: {
    50: '#70a45d',
    500: '#297e17',
    950: '#000000',
  },
}
SCSS
$custom: #297e17;
$custom-light: #70a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#297e17",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 109.515,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52203,
    "c": 0.15723,
    "h": 140.7
  },
  "luminance": 0.15455
}

Semantic roles & 50–950 ramp

primary
#297E17
secondary
#9E3EB3
accent
#3CECCD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297E17

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

Preview Lab → · Contrast checker → · Palette generator →

#297E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva