#297716#297716

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

Color values

HEX#297716
RGBrgb(41, 119, 22)
HSLhsl(108, 69%, 28%)
HSVhsv(108, 82%, 47%)
CMYKcmyk(65.5%, 0%, 81.5%, 53.3%)
CIE-LABlab(43.83, -41.96, 42.72)
CIE-LCHlch(43.83, 59.89, 134.49°)
OKLaboklab(50.2% -0.115 0.0953)
OKLCHoklch(50.2% 0.149 140.4)
XYZxyz(7.6557, 13.7223, 3.0041)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297716 #641677
analogous
#5A7716 #297716 #167733
triadic
#297716 #162977 #771629
tetradic
#297716 #165A77 #641677 #773316
square
#297716 #165A77 #641677 #773316
split-complementary
#297716 #331677 #77165A
monochromatic
#091A05 #17430C #297716 #3BAB20 #50D92F

Accessibility & contrast

On white

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

On black

3.74
#297716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##297716#FFFFFF#000000##FFFFFF
##2977161.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #297716;
/* rgb */ color: rgb(41, 119, 22);
/* oklch */ color: oklch(50.2% 0.149 140.4);
Tailwind
colors: {
  custom: {
    50: '#6e9f5c',
    500: '#297716',
    950: '#000000',
  },
}
SCSS
$custom: #297716;
$custom-light: #6e9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#297716",
  "rgb": {
    "r": 41,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 108.247,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50198,
    "c": 0.14935,
    "h": 140.4
  },
  "luminance": 0.13723
}

Semantic roles & 50–950 ramp

primary
#297716
secondary
#963CAC
accent
#3CECC9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #297716

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

Preview Lab → · Contrast checker → · Palette generator →

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