#297214#297214

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

Color values

HEX#297214
RGBrgb(41, 114, 20)
HSLhsl(107, 70%, 26%)
HSVhsv(107, 82%, 45%)
CMYKcmyk(64%, 0%, 82.5%, 55.3%)
CIE-LABlab(42.09, -40.21, 41.73)
CIE-LCHlch(42.09, 57.95, 133.94°)
OKLaboklab(48.75% -0.1104 0.0929)
OKLCHoklch(48.75% 0.144 139.9)
XYZxyz(7.0577, 12.5559, 2.7133)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297214 #5D1472
analogous
#587214 #297214 #14722E
triadic
#297214 #142972 #721429
tetradic
#297214 #145872 #5D1472 #722E14
square
#297214 #145872 #5D1472 #722E14
split-complementary
#297214 #2E1472 #721458
monochromatic
#091A05 #163E0B #297214 #3CA61D #4FD927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##297214#FFFFFF#000000##FFFFFF
##2972141.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)
#6C611F
Tritanopia (blue-blind)
#1F6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #297214;
/* rgb */ color: rgb(41, 114, 20);
/* oklch */ color: oklch(48.8% 0.144 139.9);
Tailwind
colors: {
  custom: {
    50: '#6d9b5a',
    500: '#297214',
    950: '#000000',
  },
}
SCSS
$custom: #297214;
$custom-light: #6d9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#297214",
  "rgb": {
    "r": 41,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 106.596,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4875,
    "c": 0.14431,
    "h": 139.9
  },
  "luminance": 0.12557
}

Semantic roles & 50–950 ramp

primary
#297214
secondary
#9039A8
accent
#3BEDC5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #297214

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

Preview Lab → · Contrast checker → · Palette generator →

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