#297218#297218

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

Color values

HEX#297218
RGBrgb(41, 114, 24)
HSLhsl(109, 65%, 27%)
HSVhsv(109, 79%, 45%)
CMYKcmyk(64%, 0%, 78.9%, 55.3%)
CIE-LABlab(42.11, -39.93, 40.35)
CIE-LCHlch(42.11, 56.77, 134.70°)
OKLaboklab(48.78% -0.1095 0.0906)
OKLCHoklch(48.78% 0.142 140.4)
XYZxyz(7.0963, 12.5713, 2.9165)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297218 #611872
analogous
#567218 #297218 #187234
triadic
#297218 #182972 #721829
tetradic
#297218 #185672 #611872 #723418
square
#297218 #185672 #611872 #723418
split-complementary
#297218 #341872 #721856
monochromatic
#091905 #173F0D #297218 #3BA523 #50D431

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##297218#FFFFFF#000000##FFFFFF
##2972181.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)
#756705
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#1E6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #297218;
/* rgb */ color: rgb(41, 114, 24);
/* oklch */ color: oklch(48.8% 0.142 140.4);
Tailwind
colors: {
  custom: {
    50: '#6d9b5c',
    500: '#297218',
    950: '#000000',
  },
}
SCSS
$custom: #297218;
$custom-light: #6d9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#297218",
  "rgb": {
    "r": 41,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 108.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48777,
    "c": 0.14209,
    "h": 140.4
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

primary
#297218
secondary
#943EA7
accent
#40E8C8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #297218

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

Preview Lab → · Contrast checker → · Palette generator →

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