#297A19#297A19

#297A19 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.151 H 140.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#297A19
RGBrgb(41, 122, 25)
HSLhsl(110, 66%, 29%)
HSVhsv(110, 80%, 48%)
CMYKcmyk(66.4%, 0%, 79.5%, 52.2%)
CIE-LABlab(44.89, -42.87, 42.70)
CIE-LCHlch(44.89, 60.51, 135.11°)
OKLaboklab(51.08% -0.1173 0.0957)
OKLCHoklch(51.08% 0.151 140.8)
XYZxyz(8.0491, 14.4599, 3.2864)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297A19 #6A197A
analogous
#5A7A19 #297A19 #197A3A
triadic
#297A19 #19297A #7A1929
tetradic
#297A19 #195A7A #6A197A #7A3A19
square
#297A19 #195A7A #6A197A #7A3A19
split-complementary
#297A19 #3A197A #7A195A
monochromatic
#091905 #18470F #297A19 #3AAD23 #52D637

Accessibility & contrast

On white

5.40
#297A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#297A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297A19
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297A19#FFFFFF#000000##FFFFFF
##297A191.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#1B7668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #297a19;
/* rgb */ color: rgb(41, 122, 25);
/* oklch */ color: oklch(51.1% 0.151 140.8);
Tailwind
colors: {
  custom: {
    50: '#6fa15e',
    500: '#297a19',
    950: '#000000',
  },
}
SCSS
$custom: #297a19;
$custom-light: #6fa15e;
$custom-dark: #000000;
JSON
{
  "hex": "#297a19",
  "rgb": {
    "r": 41,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 110.103,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51076,
    "c": 0.15138,
    "h": 140.8
  },
  "luminance": 0.14461
}

Semantic roles & 50–950 ramp

primary
#297A19
secondary
#9C40AF
accent
#3FE9CD
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297A19

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

Preview Lab → · Contrast checker → · Palette generator →

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