#297D1F#297D1F

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

Color values

HEX#297D1F
RGBrgb(41, 125, 31)
HSLhsl(114, 60%, 31%)
HSVhsv(114, 75%, 49%)
CMYKcmyk(67.2%, 0%, 75.2%, 51%)
CIE-LABlab(45.96, -43.50, 41.52)
CIE-LCHlch(45.96, 60.14, 136.33°)
OKLaboklab(51.98% -0.1187 0.0941)
OKLCHoklch(51.98% 0.151 141.6)
XYZxyz(8.4949, 15.2367, 3.7894)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297D1F #731F7D
analogous
#587D1F #297D1F #1F7D44
triadic
#297D1F #1F297D #7D1F29
tetradic
#297D1F #1F587D #731F7D #7D441F
square
#297D1F #1F587D #731F7D #7D441F
split-complementary
#297D1F #441F7D #7D1F58
monochromatic
#091B07 #194C13 #297D1F #39AE2B #54D145

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##297D1F#FFFFFF#000000##FFFFFF
##297D1F1.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)
#80710E
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#19796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #297d1f;
/* rgb */ color: rgb(41, 125, 31);
/* oklch */ color: oklch(52.0% 0.151 141.6);
Tailwind
colors: {
  custom: {
    50: '#6fa361',
    500: '#297d1f',
    950: '#000000',
  },
}
SCSS
$custom: #297d1f;
$custom-light: #6fa361;
$custom-dark: #000000;
JSON
{
  "hex": "#297d1f",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 113.617,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51976,
    "c": 0.15146,
    "h": 141.6
  },
  "luminance": 0.15238
}

Semantic roles & 50–950 ramp

primary
#297D1F
secondary
#A548B0
accent
#44E3D2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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