#297116#297116

#297116 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.142 H 140.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#297116
RGBrgb(41, 113, 22)
HSLhsl(107, 67%, 26%)
HSVhsv(107, 81%, 44%)
CMYKcmyk(63.7%, 0%, 80.5%, 55.7%)
CIE-LABlab(41.75, -39.70, 40.72)
CIE-LCHlch(41.75, 56.87, 134.27°)
OKLaboklab(48.48% -0.1089 0.0911)
OKLCHoklch(48.48% 0.142 140.1)
XYZxyz(6.9641, 12.3390, 2.7736)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297116 #5E1671
analogous
#577116 #297116 #167131
triadic
#297116 #162971 #711629
tetradic
#297116 #165771 #5E1671 #713116
square
#297116 #165771 #5E1671 #713116
split-complementary
#297116 #311671 #711657
monochromatic
#091A05 #163E0C #297116 #3CA420 #4FD62C

Accessibility & contrast

On white

6.06
#297116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#297116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297116
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297116#FFFFFF#000000##FFFFFF
##2971161.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746601
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#1F6D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #297116;
/* rgb */ color: rgb(41, 113, 22);
/* oklch */ color: oklch(48.5% 0.142 140.1);
Tailwind
colors: {
  custom: {
    50: '#6d9a5b',
    500: '#297116',
    950: '#000000',
  },
}
SCSS
$custom: #297116;
$custom-light: #6d9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#297116",
  "rgb": {
    "r": 41,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 107.473,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48475,
    "c": 0.14199,
    "h": 140.1
  },
  "luminance": 0.1234
}

Semantic roles & 50–950 ramp

primary
#297116
secondary
#913CA7
accent
#3EEAC6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #297116

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

Preview Lab → · Contrast checker → · Palette generator →

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