#297C1A#297C1A

#297C1A is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.153 H 141.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#297C1A
RGBrgb(41, 124, 26)
HSLhsl(111, 65%, 29%)
HSVhsv(111, 79%, 49%)
CMYKcmyk(66.9%, 0%, 79%, 51.4%)
CIE-LABlab(45.58, -43.53, 43.03)
CIE-LCHlch(45.58, 61.21, 135.33°)
OKLaboklab(51.65% -0.119 0.0965)
OKLCHoklch(51.65% 0.153 141)
XYZxyz(8.3081, 14.9605, 3.4269)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297C1A #6D1A7C
analogous
#5A7C1A #297C1A #1A7C3C
triadic
#297C1A #1A297C #7C1A29
tetradic
#297C1A #1A5A7C #6D1A7C #7C3C1A
square
#297C1A #1A5A7C #6D1A7C #7C3C1A
split-complementary
#297C1A #3C1A7C #7C1A5A
monochromatic
#081905 #18490F #297C1A #3AAF25 #52D63B

Accessibility & contrast

On white

5.26
#297C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#297C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297C1A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297C1A#FFFFFF#000000##FFFFFF
##297C1A1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#1A7869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #297c1a;
/* rgb */ color: rgb(41, 124, 26);
/* oklch */ color: oklch(51.7% 0.153 141.0);
Tailwind
colors: {
  custom: {
    50: '#6fa35e',
    500: '#297c1a',
    950: '#000000',
  },
}
SCSS
$custom: #297c1a;
$custom-light: #6fa35e;
$custom-dark: #000000;
JSON
{
  "hex": "#297c1a",
  "rgb": {
    "r": 41,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 110.816,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51653,
    "c": 0.15324,
    "h": 141
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#297C1A
secondary
#9F42B0
accent
#40E8CE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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