#297016#297016

#297016 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.141 H 140.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#297016
RGBrgb(41, 112, 22)
HSLhsl(107, 67%, 26%)
HSVhsv(107, 80%, 44%)
CMYKcmyk(63.4%, 0%, 80.4%, 56.1%)
CIE-LABlab(41.40, -39.31, 40.38)
CIE-LCHlch(41.40, 56.36, 134.23°)
OKLaboklab(48.19% -0.1079 0.0904)
OKLCHoklch(48.19% 0.141 140.1)
XYZxyz(6.8531, 12.1171, 2.7366)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297016 #5D1670
analogous
#567016 #297016 #167030
triadic
#297016 #162970 #701629
tetradic
#297016 #165670 #5D1670 #703016
square
#297016 #165670 #5D1670 #703016
split-complementary
#297016 #301670 #701656
monochromatic
#091A05 #163D0C #297016 #3CA320 #4FD52B

Accessibility & contrast

On white

6.13
#297016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#297016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297016
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297016#FFFFFF#000000##FFFFFF
##2970161.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736502
Deuteranopia (green-blind)
#6B5F20
Tritanopia (blue-blind)
#1F6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #297016;
/* rgb */ color: rgb(41, 112, 22);
/* oklch */ color: oklch(48.2% 0.141 140.1);
Tailwind
colors: {
  custom: {
    50: '#6d9a5b',
    500: '#297016',
    950: '#000000',
  },
}
SCSS
$custom: #297016;
$custom-light: #6d9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#297016",
  "rgb": {
    "r": 41,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 107.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48187,
    "c": 0.14075,
    "h": 140.1
  },
  "luminance": 0.12118
}

Semantic roles & 50–950 ramp

primary
#297016
secondary
#903CA6
accent
#3EEAC6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #297016

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

Preview Lab → · Contrast checker → · Palette generator →

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