#297215#297215

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

Color values

HEX#297215
RGBrgb(41, 114, 21)
HSLhsl(107, 69%, 26%)
HSVhsv(107, 82%, 45%)
CMYKcmyk(64%, 0%, 81.6%, 55.3%)
CIE-LABlab(42.09, -40.15, 41.40)
CIE-LCHlch(42.09, 57.67, 134.12°)
OKLaboklab(48.76% -0.1102 0.0923)
OKLCHoklch(48.76% 0.144 140)
XYZxyz(7.0668, 12.5595, 2.7611)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297215 #5E1572
analogous
#587215 #297215 #157230
triadic
#297215 #152972 #721529
tetradic
#297215 #155872 #5E1572 #723015
square
#297215 #155872 #5E1572 #723015
split-complementary
#297215 #301572 #721558
monochromatic
#091A05 #163E0B #297215 #3CA61F #4FD82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##297215#FFFFFF#000000##FFFFFF
##2972151.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)
#756700
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#1F6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #297215;
/* rgb */ color: rgb(41, 114, 21);
/* oklch */ color: oklch(48.8% 0.144 140.0);
Tailwind
colors: {
  custom: {
    50: '#6d9b5b',
    500: '#297215',
    950: '#000000',
  },
}
SCSS
$custom: #297215;
$custom-light: #6d9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#297215",
  "rgb": {
    "r": 41,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 107.097,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48757,
    "c": 0.14377,
    "h": 140
  },
  "luminance": 0.1256
}

Semantic roles & 50–950 ramp

primary
#297215
secondary
#913BA8
accent
#3CECC6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #297215

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

Preview Lab → · Contrast checker → · Palette generator →

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