#297E20#297E20

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

Color values

HEX#297E20
RGBrgb(41, 126, 32)
HSLhsl(114, 59%, 31%)
HSVhsv(114, 75%, 49%)
CMYKcmyk(67.5%, 0%, 74.6%, 50.6%)
CIE-LABlab(46.31, -43.79, 41.49)
CIE-LCHlch(46.31, 60.32, 136.55°)
OKLaboklab(52.27% -0.1194 0.0941)
OKLCHoklch(52.27% 0.152 141.7)
XYZxyz(8.6356, 15.4965, 3.9023)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297E20 #75207E
analogous
#587E20 #297E20 #207E46
triadic
#297E20 #20297E #7E2029
tetradic
#297E20 #20587E #75207E #7E4620
square
#297E20 #20587E #75207E #7E4620
split-complementary
#297E20 #46207E #7E2058
monochromatic
#091C07 #194D14 #297E20 #39AF2C #55D048

Accessibility & contrast

On white

5.12
#297E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#297E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297E20
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297E20#FFFFFF#000000##FFFFFF
##297E201.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817210
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#187A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297e20;
/* rgb */ color: rgb(41, 126, 32);
/* oklch */ color: oklch(52.3% 0.152 141.7);
Tailwind
colors: {
  custom: {
    50: '#6fa462',
    500: '#297e20',
    950: '#000000',
  },
}
SCSS
$custom: #297e20;
$custom-light: #6fa462;
$custom-dark: #000000;
JSON
{
  "hex": "#297e20",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 114.255,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52268,
    "c": 0.15204,
    "h": 141.7
  },
  "luminance": 0.15497
}

Semantic roles & 50–950 ramp

primary
#297E20
secondary
#A749B1
accent
#45E3D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #297E20

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

Preview Lab → · Contrast checker → · Palette generator →

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