#297A45#297A45

#297A45 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.7% C 0.114 H 151.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#297A45
RGBrgb(41, 122, 69)
HSLhsl(141, 50%, 32%)
HSVhsv(141, 66%, 48%)
CMYKcmyk(66.4%, 0%, 43.4%, 52.2%)
CIE-LABlab(45.39, -37.14, 22.01)
CIE-LCHlch(45.39, 43.17, 149.35°)
OKLaboklab(51.65% -0.1003 0.0545)
OKLCHoklch(51.65% 0.114 151.5)
XYZxyz(8.9475, 14.8192, 8.0179)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297A45 #7A295E
analogous
#367A29 #297A45 #297A6E
triadic
#297A45 #45297A #7A4529
tetradic
#297A45 #29367A #7A295E #7A6E29
square
#297A45 #29367A #7A295E #7A6E29
split-complementary
#297A45 #6E297A #7A2936
monochromatic
#0A1E11 #1A4C2B #297A45 #38A85F #57C77D

Accessibility & contrast

On white

5.30
#297A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#297A45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297A45
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297A45#FFFFFF#000000##FFFFFF
##297A451.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7041
Deuteranopia (green-blind)
#706949
Tritanopia (blue-blind)
#07786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #297a45;
/* rgb */ color: rgb(41, 122, 69);
/* oklch */ color: oklch(51.7% 0.114 151.5);
Tailwind
colors: {
  custom: {
    50: '#6da179',
    500: '#297a45',
    950: '#000000',
  },
}
SCSS
$custom: #297a45;
$custom-light: #6da179;
$custom-dark: #000000;
JSON
{
  "hex": "#297a45",
  "rgb": {
    "r": 41,
    "g": 122,
    "b": 69
  },
  "hsl": {
    "h": 140.741,
    "s": 49.693,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51651,
    "c": 0.11414,
    "h": 151.5
  },
  "luminance": 0.1482
}

Semantic roles & 50–950 ramp

primary
#297A45
secondary
#AC538D
accent
#4FA9D9
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #297A45

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

Preview Lab → · Contrast checker → · Palette generator →

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