#297F45#297F45

#297F45 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.121 H 150.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#297F45
RGBrgb(41, 127, 69)
HSLhsl(140, 51%, 33%)
HSVhsv(140, 68%, 50%)
CMYKcmyk(67.7%, 0%, 45.7%, 50.2%)
CIE-LABlab(47.08, -39.22, 24.20)
CIE-LCHlch(47.08, 46.08, 148.32°)
OKLaboklab(53.04% -0.1058 0.0596)
OKLCHoklch(53.04% 0.121 150.6)
XYZxyz(9.5772, 16.0788, 8.2279)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297F45 #7F2963
analogous
#387F29 #297F45 #297F70
triadic
#297F45 #45297F #7F4529
tetradic
#297F45 #29387F #7F2963 #7F7029
square
#297F45 #29387F #7F2963 #7F7029
split-complementary
#297F45 #70297F #7F2938
monochromatic
#0B2213 #1A512C #297F45 #38AD5E #59C97E

Accessibility & contrast

On white

4.98
#297F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#297F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297F45
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297F45#FFFFFF#000000##FFFFFF
##297F451.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807441
Deuteranopia (green-blind)
#756D49
Tritanopia (blue-blind)
#037D71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #297f45;
/* rgb */ color: rgb(41, 127, 69);
/* oklch */ color: oklch(53.0% 0.121 150.6);
Tailwind
colors: {
  custom: {
    50: '#6ea579',
    500: '#297f45',
    950: '#000000',
  },
}
SCSS
$custom: #297f45;
$custom-light: #6ea579;
$custom-dark: #000000;
JSON
{
  "hex": "#297f45",
  "rgb": {
    "r": 41,
    "g": 127,
    "b": 69
  },
  "hsl": {
    "h": 139.535,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53044,
    "c": 0.12142,
    "h": 150.6
  },
  "luminance": 0.1608
}

Semantic roles & 50–950 ramp

primary
#297F45
secondary
#AF5592
accent
#4DADDB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #297F45

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

Preview Lab → · Contrast checker → · Palette generator →

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