#297D20#297D20

#297D20 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.151 H 141.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#297D20
RGBrgb(41, 125, 32)
HSLhsl(114, 59%, 31%)
HSVhsv(114, 74%, 49%)
CMYKcmyk(67.2%, 0%, 74.4%, 51%)
CIE-LABlab(45.96, -43.42, 41.13)
CIE-LCHlch(45.96, 59.81, 136.55°)
OKLaboklab(51.98% -0.1184 0.0934)
OKLCHoklch(51.98% 0.151 141.7)
XYZxyz(8.5083, 15.2421, 3.8598)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297D20 #74207D
analogous
#577D20 #297D20 #207D45
triadic
#297D20 #20297D #7D2029
tetradic
#297D20 #20577D #74207D #7D4520
square
#297D20 #20577D #74207D #7D4520
split-complementary
#297D20 #45207D #7D2057
monochromatic
#091C07 #194C14 #297D20 #39AE2C #55D047

Accessibility & contrast

On white

5.19
#297D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#297D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297D20
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297D20#FFFFFF#000000##FFFFFF
##297D201.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#19796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #297d20;
/* rgb */ color: rgb(41, 125, 32);
/* oklch */ color: oklch(52.0% 0.151 141.7);
Tailwind
colors: {
  custom: {
    50: '#6fa362',
    500: '#297d20',
    950: '#000000',
  },
}
SCSS
$custom: #297d20;
$custom-light: #6fa362;
$custom-dark: #000000;
JSON
{
  "hex": "#297d20",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 114.194,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51984,
    "c": 0.15081,
    "h": 141.7
  },
  "luminance": 0.15243
}

Semantic roles & 50–950 ramp

primary
#297D20
secondary
#A649B0
accent
#45E2D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #297D20

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

Preview Lab → · Contrast checker → · Palette generator →

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