#297D52#297D52

#297D52 is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.8% C 0.106 H 157.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#297D52
RGBrgb(41, 125, 82)
HSLhsl(149, 51%, 33%)
HSVhsv(149, 67%, 49%)
CMYKcmyk(67.2%, 0%, 34.4%, 51%)
CIE-LABlab(46.64, -35.78, 16.27)
CIE-LCHlch(46.64, 39.31, 155.55°)
OKLaboklab(52.76% -0.0972 0.0411)
OKLCHoklch(52.76% 0.106 157.1)
XYZxyz(9.7702, 15.7468, 10.5056)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297D52 #7D2954
analogous
#2A7D29 #297D52 #297D7C
triadic
#297D52 #52297D #7D5229
tetradic
#297D52 #292A7D #7D2954 #7D7C29
square
#297D52 #292A7D #7D2954 #7D7C29
split-complementary
#297D52 #7C297D #7D292A
monochromatic
#0B2116 #1A4F34 #297D52 #38AB70 #58C88F

Accessibility & contrast

On white

5.06
#297D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#297D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297D52
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297D52#FFFFFF#000000##FFFFFF
##297D521.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734F
Deuteranopia (green-blind)
#716B55
Tritanopia (blue-blind)
#007C72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #297d52;
/* rgb */ color: rgb(41, 125, 82);
/* oklch */ color: oklch(52.8% 0.106 157.1);
Tailwind
colors: {
  custom: {
    50: '#6da383',
    500: '#297d52',
    950: '#000000',
  },
}
SCSS
$custom: #297d52;
$custom-light: #6da383;
$custom-dark: #000000;
JSON
{
  "hex": "#297d52",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 82
  },
  "hsl": {
    "h": 149.286,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52762,
    "c": 0.10554,
    "h": 157.1
  },
  "luminance": 0.15748
}

Semantic roles & 50–950 ramp

primary
#297D52
secondary
#AE5482
accent
#4E96DA
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #297D52

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

Preview Lab → · Contrast checker → · Palette generator →

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