#297D1E#297D1E

#297D1E is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.152 H 141.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#297D1E
RGBrgb(41, 125, 30)
HSLhsl(113, 61%, 30%)
HSVhsv(113, 76%, 49%)
CMYKcmyk(67.2%, 0%, 76%, 51%)
CIE-LABlab(45.95, -43.59, 41.91)
CIE-LCHlch(45.95, 60.46, 136.13°)
OKLaboklab(51.97% -0.119 0.0947)
OKLCHoklch(51.97% 0.152 141.5)
XYZxyz(8.4820, 15.2315, 3.7210)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297D1E #721E7D
analogous
#587D1E #297D1E #1E7D43
triadic
#297D1E #1E297D #7D1E29
tetradic
#297D1E #1E587D #721E7D #7D431E
square
#297D1E #1E587D #721E7D #7D431E
split-complementary
#297D1E #431E7D #7D1E58
monochromatic
#091A06 #194C12 #297D1E #39AE2A #54D243

Accessibility & contrast

On white

5.19
#297D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#297D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297D1E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297D1E#FFFFFF#000000##FFFFFF
##297D1E1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#19796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #297d1e;
/* rgb */ color: rgb(41, 125, 30);
/* oklch */ color: oklch(52.0% 0.152 141.5);
Tailwind
colors: {
  custom: {
    50: '#6fa361',
    500: '#297d1e',
    950: '#000000',
  },
}
SCSS
$custom: #297d1e;
$custom-light: #6fa361;
$custom-dark: #000000;
JSON
{
  "hex": "#297d1e",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 113.053,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51968,
    "c": 0.15209,
    "h": 141.5
  },
  "luminance": 0.15232
}

Semantic roles & 50–950 ramp

primary
#297D1E
secondary
#A446B0
accent
#43E4D2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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