#297A2F#297A2F

#297A2F is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.135 H 144.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#297A2F
RGBrgb(41, 122, 47)
HSLhsl(124, 50%, 32%)
HSVhsv(124, 66%, 48%)
CMYKcmyk(66.4%, 0%, 61.5%, 52.2%)
CIE-LABlab(45.07, -40.65, 33.38)
CIE-LCHlch(45.07, 52.60, 140.61°)
OKLaboklab(51.29% -0.1101 0.0787)
OKLCHoklch(51.29% 0.135 144.4)
XYZxyz(8.3866, 14.5949, 5.0639)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297A2F #7A2974
analogous
#4C7A29 #297A2F #297A57
triadic
#297A2F #2F297A #7A2F29
tetradic
#297A2F #294C7A #7A2974 #7A5729
square
#297A2F #294C7A #7A2974 #7A5729
split-complementary
#297A2F #57297A #7A294C
monochromatic
#0A1E0C #1A4C1D #297A2F #38A841 #57C75F

Accessibility & contrast

On white

5.36
#297A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#297A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297A2F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297A2F#FFFFFF#000000##FFFFFF
##297A2F1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F27
Deuteranopia (green-blind)
#726835
Tritanopia (blue-blind)
#16776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #297a2f;
/* rgb */ color: rgb(41, 122, 47);
/* oklch */ color: oklch(51.3% 0.135 144.4);
Tailwind
colors: {
  custom: {
    50: '#6da16a',
    500: '#297a2f',
    950: '#000000',
  },
}
SCSS
$custom: #297a2f;
$custom-light: #6da16a;
$custom-dark: #000000;
JSON
{
  "hex": "#297a2f",
  "rgb": {
    "r": 41,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 124.444,
    "s": 49.693,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51293,
    "c": 0.13535,
    "h": 144.4
  },
  "luminance": 0.14596
}

Semantic roles & 50–950 ramp

primary
#297A2F
secondary
#AC53A5
accent
#4FCFD9
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #297A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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