#297C2E#297C2E

#297C2E is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.139 H 144.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#297C2E
RGBrgb(41, 124, 46)
HSLhsl(124, 50%, 32%)
HSVhsv(124, 67%, 49%)
CMYKcmyk(66.9%, 0%, 62.9%, 51.4%)
CIE-LABlab(45.75, -41.56, 34.64)
CIE-LCHlch(45.75, 54.10, 140.18°)
OKLaboklab(51.85% -0.1126 0.0813)
OKLCHoklch(51.85% 0.139 144.2)
XYZxyz(8.6147, 15.0831, 5.0416)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297C2E #7C2977
analogous
#4E7C29 #297C2E #297C57
triadic
#297C2E #2E297C #7C2E29
tetradic
#297C2E #294E7C #7C2977 #7C5729
square
#297C2E #294E7C #7C2977 #7C5729
split-complementary
#297C2E #57297C #7C294E
monochromatic
#0B200C #1A4E1D #297C2E #38AA3F #58C85E

Accessibility & contrast

On white

5.23
#297C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#297C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297C2E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297C2E#FFFFFF#000000##FFFFFF
##297C2E1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7126
Deuteranopia (green-blind)
#746A34
Tritanopia (blue-blind)
#15796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #297c2e;
/* rgb */ color: rgb(41, 124, 46);
/* oklch */ color: oklch(51.8% 0.139 144.2);
Tailwind
colors: {
  custom: {
    50: '#6ea36a',
    500: '#297c2e',
    950: '#000000',
  },
}
SCSS
$custom: #297c2e;
$custom-light: #6ea36a;
$custom-dark: #000000;
JSON
{
  "hex": "#297c2e",
  "rgb": {
    "r": 41,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 123.614,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51846,
    "c": 0.13891,
    "h": 144.2
  },
  "luminance": 0.15084
}

Semantic roles & 50–950 ramp

primary
#297C2E
secondary
#AD54A8
accent
#4ED1DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #297C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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