#297C2F#297C2F

#297C2F is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.138 H 144.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#297C2F
RGBrgb(41, 124, 47)
HSLhsl(124, 50%, 32%)
HSVhsv(124, 67%, 49%)
CMYKcmyk(66.9%, 0%, 62.1%, 51.4%)
CIE-LABlab(45.76, -41.43, 34.17)
CIE-LCHlch(45.76, 53.70, 140.49°)
OKLaboklab(51.86% -0.1122 0.0804)
OKLCHoklch(51.86% 0.138 144.4)
XYZxyz(8.6347, 15.0911, 5.1466)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297C2F #7C2976
analogous
#4D7C29 #297C2F #297C58
triadic
#297C2F #2F297C #7C2F29
tetradic
#297C2F #294D7C #7C2976 #7C5829
square
#297C2F #294D7C #7C2976 #7C5829
split-complementary
#297C2F #58297C #7C294D
monochromatic
#0B200C #1A4E1E #297C2F #38AA40 #58C860

Accessibility & contrast

On white

5.23
#297C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#297C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297C2F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297C2F#FFFFFF#000000##FFFFFF
##297C2F1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7127
Deuteranopia (green-blind)
#746A35
Tritanopia (blue-blind)
#15796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #297c2f;
/* rgb */ color: rgb(41, 124, 47);
/* oklch */ color: oklch(51.9% 0.138 144.4);
Tailwind
colors: {
  custom: {
    50: '#6ea36a',
    500: '#297c2f',
    950: '#000000',
  },
}
SCSS
$custom: #297c2f;
$custom-light: #6ea36a;
$custom-dark: #000000;
JSON
{
  "hex": "#297c2f",
  "rgb": {
    "r": 41,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 124.337,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51859,
    "c": 0.13806,
    "h": 144.4
  },
  "luminance": 0.15092
}

Semantic roles & 50–950 ramp

primary
#297C2F
secondary
#AD54A7
accent
#4ED0DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #297C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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