#297B20#297B20

#297B20 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.148 H 141.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#297B20
RGBrgb(41, 123, 32)
HSLhsl(114, 59%, 30%)
HSVhsv(114, 74%, 48%)
CMYKcmyk(66.7%, 0%, 74%, 51.8%)
CIE-LABlab(45.28, -42.67, 40.43)
CIE-LCHlch(45.28, 58.78, 136.55°)
OKLaboklab(51.42% -0.1164 0.0919)
OKLCHoklch(51.42% 0.148 141.7)
XYZxyz(8.2577, 14.7408, 3.7763)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297B20 #72207B
analogous
#567B20 #297B20 #207B44
triadic
#297B20 #20297B #7B2029
tetradic
#297B20 #20567B #72207B #7B4420
square
#297B20 #20567B #72207B #7B4420
split-complementary
#297B20 #44207B #7B2056
monochromatic
#091A07 #194A13 #297B20 #39AC2D #54CF46

Accessibility & contrast

On white

5.32
#297B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#297B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297B20
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297B20#FFFFFF#000000##FFFFFF
##297B201.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F11
Deuteranopia (green-blind)
#746929
Tritanopia (blue-blind)
#1A7769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #297b20;
/* rgb */ color: rgb(41, 123, 32);
/* oklch */ color: oklch(51.4% 0.148 141.7);
Tailwind
colors: {
  custom: {
    50: '#6ea261',
    500: '#297b20',
    950: '#000000',
  },
}
SCSS
$custom: #297b20;
$custom-light: #6ea261;
$custom-dark: #000000;
JSON
{
  "hex": "#297b20",
  "rgb": {
    "r": 41,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 114.066,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51416,
    "c": 0.14832,
    "h": 141.7
  },
  "luminance": 0.14742
}

Semantic roles & 50–950 ramp

primary
#297B20
secondary
#A449AE
accent
#46E2D2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297B20

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

Preview Lab → · Contrast checker → · Palette generator →

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