#297D16#297D16

#297D16 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.157 H 140.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#297D16
RGBrgb(41, 125, 22)
HSLhsl(109, 70%, 29%)
HSVhsv(109, 82%, 49%)
CMYKcmyk(67.2%, 0%, 82.4%, 51%)
CIE-LABlab(45.90, -44.17, 44.69)
CIE-LCHlch(45.90, 62.83, 134.66°)
OKLaboklab(51.91% -0.121 0.0993)
OKLCHoklch(51.91% 0.157 140.6)
XYZxyz(8.3925, 15.1957, 3.2497)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297D16 #6A167D
analogous
#5D7D16 #297D16 #167D37
triadic
#297D16 #16297D #7D1629
tetradic
#297D16 #165D7D #6A167D #7D3716
square
#297D16 #165D7D #6A167D #7D3716
split-complementary
#297D16 #37167D #7D165D
monochromatic
#091A05 #18490D #297D16 #3AB11F #52DB32

Accessibility & contrast

On white

5.20
#297D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#297D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297D16
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297D16#FFFFFF#000000##FFFFFF
##297D161.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#1B796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #297d16;
/* rgb */ color: rgb(41, 125, 22);
/* oklch */ color: oklch(51.9% 0.157 140.6);
Tailwind
colors: {
  custom: {
    50: '#6fa35d',
    500: '#297d16',
    950: '#000000',
  },
}
SCSS
$custom: #297d16;
$custom-light: #6fa35d;
$custom-dark: #000000;
JSON
{
  "hex": "#297d16",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 108.932,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51912,
    "c": 0.15655,
    "h": 140.6
  },
  "luminance": 0.15197
}

Semantic roles & 50–950 ramp

primary
#297D16
secondary
#9C3DB2
accent
#3BEDCC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297D16

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

Preview Lab → · Contrast checker → · Palette generator →

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