#297916#297916

#297916 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.152 H 140.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#297916
RGBrgb(41, 121, 22)
HSLhsl(108, 69%, 28%)
HSVhsv(108, 82%, 47%)
CMYKcmyk(66.1%, 0%, 81.8%, 52.5%)
CIE-LABlab(44.52, -42.70, 43.38)
CIE-LCHlch(44.52, 60.87, 134.55°)
OKLaboklab(50.77% -0.117 0.0966)
OKLCHoklch(50.77% 0.152 140.5)
XYZxyz(7.8963, 14.2033, 3.0843)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297916 #661679
analogous
#5A7916 #297916 #167934
triadic
#297916 #162979 #791629
tetradic
#297916 #165A79 #661679 #793416
square
#297916 #165A79 #661679 #793416
split-complementary
#297916 #341679 #79165A
monochromatic
#091A05 #17450D #297916 #3BAD1F #51D930

Accessibility & contrast

On white

5.47
#297916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#297916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297916
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297916#FFFFFF#000000##FFFFFF
##2979161.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#1C7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #297916;
/* rgb */ color: rgb(41, 121, 22);
/* oklch */ color: oklch(50.8% 0.152 140.5);
Tailwind
colors: {
  custom: {
    50: '#6fa05c',
    500: '#297916',
    950: '#000000',
  },
}
SCSS
$custom: #297916;
$custom-light: #6fa05c;
$custom-dark: #000000;
JSON
{
  "hex": "#297916",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 108.485,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50771,
    "c": 0.15178,
    "h": 140.5
  },
  "luminance": 0.14204
}

Semantic roles & 50–950 ramp

primary
#297916
secondary
#983DAE
accent
#3CECCA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #297916

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

Preview Lab → · Contrast checker → · Palette generator →

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