#297F4E#297F4E

#297F4E is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.2% C 0.112 H 154.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#297F4E
RGBrgb(41, 127, 78)
HSLhsl(146, 51%, 33%)
HSVhsv(146, 68%, 50%)
CMYKcmyk(67.7%, 0%, 38.6%, 50.2%)
CIE-LABlab(47.23, -37.48, 19.36)
CIE-LCHlch(47.23, 42.19, 152.69°)
OKLaboklab(53.23% -0.1014 0.0484)
OKLCHoklch(53.23% 0.112 154.5)
XYZxyz(9.8781, 16.1992, 9.8124)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297F4E #7F295A
analogous
#2F7F29 #297F4E #297F79
triadic
#297F4E #4E297F #7F4E29
tetradic
#297F4E #292F7F #7F295A #7F7929
square
#297F4E #292F7F #7F295A #7F7929
split-complementary
#297F4E #79297F #7F292F
monochromatic
#0B2215 #1A5132 #297F4E #38AD6A #59C989

Accessibility & contrast

On white

4.95
#297F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#297F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297F4E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297F4E#FFFFFF#000000##FFFFFF
##297F4E1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754B
Deuteranopia (green-blind)
#746D51
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #297f4e;
/* rgb */ color: rgb(41, 127, 78);
/* oklch */ color: oklch(53.2% 0.112 154.5);
Tailwind
colors: {
  custom: {
    50: '#6ea580',
    500: '#297f4e',
    950: '#000000',
  },
}
SCSS
$custom: #297f4e;
$custom-light: #6ea580;
$custom-dark: #000000;
JSON
{
  "hex": "#297f4e",
  "rgb": {
    "r": 41,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 145.814,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53225,
    "c": 0.1124,
    "h": 154.5
  },
  "luminance": 0.162
}

Semantic roles & 50–950 ramp

primary
#297F4E
secondary
#AF5588
accent
#4D9EDB
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #297F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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