#297F20#297F20

#297F20 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.153 H 141.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#297F20
RGBrgb(41, 127, 32)
HSLhsl(114, 60%, 31%)
HSVhsv(114, 75%, 50%)
CMYKcmyk(67.7%, 0%, 74.8%, 50.2%)
CIE-LABlab(46.65, -44.15, 41.84)
CIE-LCHlch(46.65, 60.83, 136.54°)
OKLaboklab(52.55% -0.1204 0.0949)
OKLCHoklch(52.55% 0.153 141.8)
XYZxyz(8.7641, 15.7536, 3.9451)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297F20 #76207F
analogous
#587F20 #297F20 #207F46
triadic
#297F20 #20297F #7F2029
tetradic
#297F20 #20587F #76207F #7F4620
square
#297F20 #20587F #76207F #7F4620
split-complementary
#297F20 #46207F #7F2058
monochromatic
#091D07 #194E14 #297F20 #39B02C #55D148

Accessibility & contrast

On white

5.06
#297F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#297F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297F20
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297F20#FFFFFF#000000##FFFFFF
##297F201.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730F
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#187B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #297f20;
/* rgb */ color: rgb(41, 127, 32);
/* oklch */ color: oklch(52.6% 0.153 141.8);
Tailwind
colors: {
  custom: {
    50: '#6fa562',
    500: '#297f20',
    950: '#000000',
  },
}
SCSS
$custom: #297f20;
$custom-light: #6fa562;
$custom-dark: #000000;
JSON
{
  "hex": "#297f20",
  "rgb": {
    "r": 41,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 114.316,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.15328,
    "h": 141.8
  },
  "luminance": 0.15754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #297F20

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

Preview Lab → · Contrast checker → · Palette generator →

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