#297C20#297C20

#297C20 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.150 H 141.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#297C20
RGBrgb(41, 124, 32)
HSLhsl(114, 59%, 31%)
HSVhsv(114, 74%, 49%)
CMYKcmyk(66.9%, 0%, 74.2%, 51.4%)
CIE-LABlab(45.62, -43.05, 40.78)
CIE-LCHlch(45.62, 59.30, 136.55°)
OKLaboklab(51.7% -0.1174 0.0927)
OKLCHoklch(51.7% 0.15 141.7)
XYZxyz(8.3824, 14.9902, 3.8179)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297C20 #73207C
analogous
#577C20 #297C20 #207C45
triadic
#297C20 #20297C #7C2029
tetradic
#297C20 #20577C #73207C #7C4520
square
#297C20 #20577C #73207C #7C4520
split-complementary
#297C20 #45207C #7C2057
monochromatic
#091B07 #194B13 #297C20 #39AD2D #54CF47

Accessibility & contrast

On white

5.25
#297C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#297C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297C20
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297C20#FFFFFF#000000##FFFFFF
##297C201.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7011
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#19786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #297c20;
/* rgb */ color: rgb(41, 124, 32);
/* oklch */ color: oklch(51.7% 0.150 141.7);
Tailwind
colors: {
  custom: {
    50: '#6fa361',
    500: '#297c20',
    950: '#000000',
  },
}
SCSS
$custom: #297c20;
$custom-light: #6fa361;
$custom-dark: #000000;
JSON
{
  "hex": "#297c20",
  "rgb": {
    "r": 41,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 114.13,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.517,
    "c": 0.14956,
    "h": 141.7
  },
  "luminance": 0.14991
}

Semantic roles & 50–950 ramp

primary
#297C20
secondary
#A549AF
accent
#46E2D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #297C20

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

Preview Lab → · Contrast checker → · Palette generator →

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