#297816#297816

#297816 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.151 H 140.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#297816
RGBrgb(41, 120, 22)
HSLhsl(108, 69%, 28%)
HSVhsv(108, 82%, 47%)
CMYKcmyk(65.8%, 0%, 81.7%, 52.9%)
CIE-LABlab(44.18, -42.33, 43.05)
CIE-LCHlch(44.18, 60.38, 134.52°)
OKLaboklab(50.49% -0.116 0.0959)
OKLCHoklch(50.49% 0.151 140.4)
XYZxyz(7.7754, 13.9615, 3.0440)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297816 #651678
analogous
#5A7816 #297816 #167834
triadic
#297816 #162978 #781629
tetradic
#297816 #165A78 #651678 #783416
square
#297816 #165A78 #651678 #783416
split-complementary
#297816 #341678 #78165A
monochromatic
#091A05 #17440D #297816 #3BAC1F #50D92F

Accessibility & contrast

On white

5.54
#297816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#297816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297816
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297816#FFFFFF#000000##FFFFFF
##2978161.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#1D7466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #297816;
/* rgb */ color: rgb(41, 120, 22);
/* oklch */ color: oklch(50.5% 0.151 140.4);
Tailwind
colors: {
  custom: {
    50: '#6ea05c',
    500: '#297816',
    950: '#000000',
  },
}
SCSS
$custom: #297816;
$custom-light: #6ea05c;
$custom-dark: #000000;
JSON
{
  "hex": "#297816",
  "rgb": {
    "r": 41,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 108.367,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50485,
    "c": 0.15056,
    "h": 140.4
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#297816
secondary
#973CAD
accent
#3CECCA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #297816

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

Preview Lab → · Contrast checker → · Palette generator →

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