#297216#297216

#297216 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.143 H 140.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#297216
RGBrgb(41, 114, 22)
HSLhsl(108, 68%, 27%)
HSVhsv(108, 81%, 45%)
CMYKcmyk(64%, 0%, 80.7%, 55.3%)
CIE-LABlab(42.10, -40.08, 41.06)
CIE-LCHlch(42.10, 57.38, 134.31°)
OKLaboklab(48.76% -0.11 0.0918)
OKLCHoklch(48.76% 0.143 140.2)
XYZxyz(7.0763, 12.5633, 2.8110)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297216 #5F1672
analogous
#577216 #297216 #167231
triadic
#297216 #162972 #721629
tetradic
#297216 #165772 #5F1672 #723116
square
#297216 #165772 #5F1672 #723116
split-complementary
#297216 #311672 #721657
monochromatic
#091A05 #173F0C #297216 #3BA520 #4FD62C

Accessibility & contrast

On white

5.98
#297216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#297216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297216
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297216#FFFFFF#000000##FFFFFF
##2972161.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756701
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#1F6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #297216;
/* rgb */ color: rgb(41, 114, 22);
/* oklch */ color: oklch(48.8% 0.143 140.2);
Tailwind
colors: {
  custom: {
    50: '#6d9b5b',
    500: '#297216',
    950: '#000000',
  },
}
SCSS
$custom: #297216;
$custom-light: #6d9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#297216",
  "rgb": {
    "r": 41,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 107.609,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48763,
    "c": 0.14324,
    "h": 140.2
  },
  "luminance": 0.12564
}

Semantic roles & 50–950 ramp

primary
#297216
secondary
#923CA8
accent
#3DEBC7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #297216

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

Preview Lab → · Contrast checker → · Palette generator →

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