#297A2E#297A2E

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

Color values

HEX#297A2E
RGBrgb(41, 122, 46)
HSLhsl(124, 50%, 32%)
HSVhsv(124, 66%, 48%)
CMYKcmyk(66.4%, 0%, 62.3%, 52.2%)
CIE-LABlab(45.06, -40.78, 33.86)
CIE-LCHlch(45.06, 53.01, 140.30°)
OKLaboklab(51.28% -0.1105 0.0797)
OKLCHoklch(51.28% 0.136 144.2)
XYZxyz(8.3666, 14.5869, 4.9589)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297A2E #7A2975
analogous
#4D7A29 #297A2E #297A57
triadic
#297A2E #2E297A #7A2E29
tetradic
#297A2E #294D7A #7A2975 #7A5729
square
#297A2E #294D7A #7A2975 #7A5729
split-complementary
#297A2E #57297A #7A294D
monochromatic
#0A1E0B #1A4C1D #297A2E #38A83F #57C75E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##297A2E#FFFFFF#000000##FFFFFF
##297A2E1.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)
#7C6F26
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#16776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #297a2e;
/* rgb */ color: rgb(41, 122, 46);
/* oklch */ color: oklch(51.3% 0.136 144.2);
Tailwind
colors: {
  custom: {
    50: '#6da169',
    500: '#297a2e',
    950: '#000000',
  },
}
SCSS
$custom: #297a2e;
$custom-light: #6da169;
$custom-dark: #000000;
JSON
{
  "hex": "#297a2e",
  "rgb": {
    "r": 41,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 123.704,
    "s": 49.693,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5128,
    "c": 0.13623,
    "h": 144.2
  },
  "luminance": 0.14588
}

Semantic roles & 50–950 ramp

primary
#297A2E
secondary
#AC53A6
accent
#4FD1D9
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #297A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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