#297A1A#297A1A

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

Color values

HEX#297A1A
RGBrgb(41, 122, 26)
HSLhsl(111, 65%, 29%)
HSVhsv(111, 79%, 48%)
CMYKcmyk(66.4%, 0%, 78.7%, 52.2%)
CIE-LABlab(44.89, -42.79, 42.35)
CIE-LCHlch(44.89, 60.21, 135.30°)
OKLaboklab(51.08% -0.1171 0.0951)
OKLCHoklch(51.08% 0.151 140.9)
XYZxyz(8.0600, 14.4643, 3.3442)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297A1A #6B1A7A
analogous
#597A1A #297A1A #1A7A3B
triadic
#297A1A #1A297A #7A1A29
tetradic
#297A1A #1A597A #6B1A7A #7A3B1A
square
#297A1A #1A597A #6B1A7A #7A3B1A
split-complementary
#297A1A #3B1A7A #7A1A59
monochromatic
#081905 #18480F #297A1A #3AAC25 #52D539

Accessibility & contrast

On white

5.39
#297A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #297A1A
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297A1A#FFFFFF#000000##FFFFFF
##297A1A1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #297a1a;
/* rgb */ color: rgb(41, 122, 26);
/* oklch */ color: oklch(51.1% 0.151 140.9);
Tailwind
colors: {
  custom: {
    50: '#6fa15e',
    500: '#297a1a',
    950: '#000000',
  },
}
SCSS
$custom: #297a1a;
$custom-light: #6fa15e;
$custom-dark: #000000;
JSON
{
  "hex": "#297a1a",
  "rgb": {
    "r": 41,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 110.625,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51083,
    "c": 0.1508,
    "h": 140.9
  },
  "luminance": 0.14465
}

Semantic roles & 50–950 ramp

primary
#297A1A
secondary
#9D41AE
accent
#40E8CE
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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