#297C2D#297C2D

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

Color values

HEX#297C2D
RGBrgb(41, 124, 45)
HSLhsl(123, 50%, 32%)
HSVhsv(123, 67%, 49%)
CMYKcmyk(66.9%, 0%, 63.7%, 51.4%)
CIE-LABlab(45.74, -41.68, 35.12)
CIE-LCHlch(45.74, 54.50, 139.89°)
OKLaboklab(51.83% -0.113 0.0823)
OKLCHoklch(51.83% 0.14 144)
XYZxyz(8.5952, 15.0753, 4.9390)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297C2D #7C2978
analogous
#4E7C29 #297C2D #297C57
triadic
#297C2D #2D297C #7C2D29
tetradic
#297C2D #294E7C #7C2978 #7C5729
square
#297C2D #294E7C #7C2978 #7C5729
split-complementary
#297C2D #57297C #7C294E
monochromatic
#0B200C #1A4E1C #297C2D #38AA3E #58C85D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##297C2D#FFFFFF#000000##FFFFFF
##297C2D1.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)
#7E7124
Deuteranopia (green-blind)
#746A34
Tritanopia (blue-blind)
#15796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #297c2d;
/* rgb */ color: rgb(41, 124, 45);
/* oklch */ color: oklch(51.8% 0.140 144.0);
Tailwind
colors: {
  custom: {
    50: '#6ea369',
    500: '#297c2d',
    950: '#000000',
  },
}
SCSS
$custom: #297c2d;
$custom-light: #6ea369;
$custom-dark: #000000;
JSON
{
  "hex": "#297c2d",
  "rgb": {
    "r": 41,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 122.892,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51834,
    "c": 0.13976,
    "h": 144
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#297C2D
secondary
#AD54A9
accent
#4ED3DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #297C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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