#297221#297221

#297221 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.136 H 141.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#297221
RGBrgb(41, 114, 33)
HSLhsl(114, 55%, 29%)
HSVhsv(114, 71%, 45%)
CMYKcmyk(64%, 0%, 71.1%, 55.3%)
CIE-LABlab(42.18, -39.15, 36.75)
CIE-LCHlch(42.18, 53.70, 136.81°)
OKLaboklab(48.86% -0.1068 0.0843)
OKLCHoklch(48.86% 0.136 141.7)
XYZxyz(7.2059, 12.6152, 3.4938)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297221 #6A2172
analogous
#527221 #297221 #217242
triadic
#297221 #212972 #722129
tetradic
#297221 #215272 #6A2172 #724221
square
#297221 #215272 #6A2172 #724221
split-complementary
#297221 #422172 #722152
monochromatic
#091807 #184313 #297221 #3AA12F #52C944

Accessibility & contrast

On white

5.96
#297221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#297221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297221
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297221#FFFFFF#000000##FFFFFF
##2972211.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756716
Deuteranopia (green-blind)
#6C6129
Tritanopia (blue-blind)
#1D6E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #297221;
/* rgb */ color: rgb(41, 114, 33);
/* oklch */ color: oklch(48.9% 0.136 141.7);
Tailwind
colors: {
  custom: {
    50: '#6c9b61',
    500: '#297221',
    950: '#000000',
  },
}
SCSS
$custom: #297221;
$custom-light: #6c9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#297221",
  "rgb": {
    "r": 41,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 114.074,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48855,
    "c": 0.13608,
    "h": 141.7
  },
  "luminance": 0.12616
}

Semantic roles & 50–950 ramp

primary
#297221
secondary
#9C49A5
accent
#49DED0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #297221

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

Preview Lab → · Contrast checker → · Palette generator →

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