#297F16#297F16

#297F16 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.159 H 140.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#297F16
RGBrgb(41, 127, 22)
HSLhsl(109, 70%, 29%)
HSVhsv(109, 83%, 50%)
CMYKcmyk(67.7%, 0%, 82.7%, 50.2%)
CIE-LABlab(46.59, -44.89, 45.33)
CIE-LCHlch(46.59, 63.80, 134.72°)
OKLaboklab(52.48% -0.1229 0.1007)
OKLCHoklch(52.48% 0.159 140.7)
XYZxyz(8.6482, 15.7072, 3.3349)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297F16 #6C167F
analogous
#5E7F16 #297F16 #167F38
triadic
#297F16 #16297F #7F1629
tetradic
#297F16 #165E7F #6C167F #7F3816
square
#297F16 #165E7F #6C167F #7F3816
split-complementary
#297F16 #38167F #7F165E
monochromatic
#081A05 #184B0D #297F16 #3AB31F #52DC34

Accessibility & contrast

On white

5.07
#297F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#297F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297F16
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297F16#FFFFFF#000000##FFFFFF
##297F161.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#1A7B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297f16;
/* rgb */ color: rgb(41, 127, 22);
/* oklch */ color: oklch(52.5% 0.159 140.7);
Tailwind
colors: {
  custom: {
    50: '#70a55d',
    500: '#297f16',
    950: '#000000',
  },
}
SCSS
$custom: #297f16;
$custom-light: #70a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#297f16",
  "rgb": {
    "r": 41,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 109.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52481,
    "c": 0.15891,
    "h": 140.7
  },
  "luminance": 0.15708
}

Semantic roles & 50–950 ramp

primary
#297F16
secondary
#9E3DB4
accent
#3BEDCD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297F16

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

Preview Lab → · Contrast checker → · Palette generator →

#297F16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva