#297A2C#297A2C

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

Color values

HEX#297A2C
RGBrgb(41, 122, 44)
HSLhsl(122, 50%, 32%)
HSVhsv(122, 66%, 48%)
CMYKcmyk(66.4%, 0%, 63.9%, 52.2%)
CIE-LABlab(45.04, -41.03, 34.81)
CIE-LCHlch(45.04, 53.81, 139.69°)
OKLaboklab(51.26% -0.1113 0.0815)
OKLCHoklch(51.26% 0.138 143.8)
XYZxyz(8.3281, 14.5715, 4.7561)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297A2C #7A2977
analogous
#4F7A29 #297A2C #297A55
triadic
#297A2C #2C297A #7A2C29
tetradic
#297A2C #294F7A #7A2977 #7A5529
square
#297A2C #294F7A #7A2977 #7A5529
split-complementary
#297A2C #55297A #7A294F
monochromatic
#0A1E0B #1A4C1B #297A2C #38A83D #57C75B

Accessibility & contrast

On white

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

On black

3.91
#297A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##297A2C#FFFFFF#000000##FFFFFF
##297A2C1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F23
Deuteranopia (green-blind)
#736833
Tritanopia (blue-blind)
#177769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #297a2c;
/* rgb */ color: rgb(41, 122, 44);
/* oklch */ color: oklch(51.3% 0.138 143.8);
Tailwind
colors: {
  custom: {
    50: '#6ea168',
    500: '#297a2c',
    950: '#000000',
  },
}
SCSS
$custom: #297a2c;
$custom-light: #6ea168;
$custom-dark: #000000;
JSON
{
  "hex": "#297a2c",
  "rgb": {
    "r": 41,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 122.222,
    "s": 49.693,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51256,
    "c": 0.13794,
    "h": 143.8
  },
  "luminance": 0.14572
}

Semantic roles & 50–950 ramp

primary
#297A2C
secondary
#AC53A8
accent
#4FD4D9
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #297A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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