#297720#297720

#297720 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.143 H 141.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#297720
RGBrgb(41, 119, 32)
HSLhsl(114, 58%, 30%)
HSVhsv(114, 73%, 47%)
CMYKcmyk(65.5%, 0%, 73.1%, 53.3%)
CIE-LABlab(43.90, -41.17, 39.00)
CIE-LCHlch(43.90, 56.71, 136.55°)
OKLaboklab(50.28% -0.1123 0.0889)
OKLCHoklch(50.28% 0.143 141.6)
XYZxyz(7.7716, 13.7686, 3.6143)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297720 #6E2077
analogous
#557720 #297720 #207743
triadic
#297720 #202977 #772029
tetradic
#297720 #205577 #6E2077 #774320
square
#297720 #205577 #6E2077 #774320
split-complementary
#297720 #432077 #772055
monochromatic
#081806 #184713 #297720 #3AA72D #53CD45

Accessibility & contrast

On white

5.59
#297720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#297720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297720
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297720#FFFFFF#000000##FFFFFF
##2977201.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C12
Deuteranopia (green-blind)
#716528
Tritanopia (blue-blind)
#1B7366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #297720;
/* rgb */ color: rgb(41, 119, 32);
/* oklch */ color: oklch(50.3% 0.143 141.6);
Tailwind
colors: {
  custom: {
    50: '#6e9f61',
    500: '#297720',
    950: '#000000',
  },
}
SCSS
$custom: #297720;
$custom-light: #6e9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#297720",
  "rgb": {
    "r": 41,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 113.793,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50276,
    "c": 0.14326,
    "h": 141.6
  },
  "luminance": 0.13769
}

Semantic roles & 50–950 ramp

primary
#297720
secondary
#A048AA
accent
#47E1D1
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #297720

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

Preview Lab → · Contrast checker → · Palette generator →

#297720 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva