#297D2A#297D2A

#297D2A is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.144 H 143.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#297D2A
RGBrgb(41, 125, 42)
HSLhsl(121, 51%, 33%)
HSVhsv(121, 67%, 49%)
CMYKcmyk(67.2%, 0%, 66.4%, 51%)
CIE-LABlab(46.05, -42.41, 36.89)
CIE-LCHlch(46.05, 56.21, 138.99°)
OKLaboklab(52.08% -0.1151 0.0857)
OKLCHoklch(52.08% 0.144 143.3)
XYZxyz(8.6655, 15.3049, 4.6875)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297D2A #7D297C
analogous
#527D29 #297D2A #297D54
triadic
#297D2A #2A297D #7D2A29
tetradic
#297D2A #29527D #7D297C #7D5429
square
#297D2A #29527D #7D297C #7D5429
split-complementary
#297D2A #54297D #7D2952
monochromatic
#0B210B #1A4F1B #297D2A #38AB39 #58C859

Accessibility & contrast

On white

5.17
#297D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#297D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297D2A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297D2A#FFFFFF#000000##FFFFFF
##297D2A1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807120
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#16796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #297d2a;
/* rgb */ color: rgb(41, 125, 42);
/* oklch */ color: oklch(52.1% 0.144 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ea367',
    500: '#297d2a',
    950: '#000000',
  },
}
SCSS
$custom: #297d2a;
$custom-light: #6ea367;
$custom-dark: #000000;
JSON
{
  "hex": "#297d2a",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 120.714,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52082,
    "c": 0.14354,
    "h": 143.3
  },
  "luminance": 0.15306
}

Semantic roles & 50–950 ramp

primary
#297D2A
secondary
#AE54AD
accent
#4ED8DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #297D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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