#297E1A#297E1A

#297E1A is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.156 H 141.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#297E1A
RGBrgb(41, 126, 26)
HSLhsl(111, 66%, 30%)
HSVhsv(111, 79%, 49%)
CMYKcmyk(67.5%, 0%, 79.4%, 50.6%)
CIE-LABlab(46.27, -44.26, 43.70)
CIE-LCHlch(46.27, 62.20, 135.37°)
OKLaboklab(52.22% -0.121 0.0979)
OKLCHoklch(52.22% 0.156 141)
XYZxyz(8.5613, 15.4668, 3.5113)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297E1A #6F1A7E
analogous
#5B7E1A #297E1A #1A7E3D
triadic
#297E1A #1A297E #7E1A29
tetradic
#297E1A #1A5B7E #6F1A7E #7E3D1A
square
#297E1A #1A5B7E #6F1A7E #7E3D1A
split-complementary
#297E1A #3D1A7E #7E1A5B
monochromatic
#081905 #184B10 #297E1A #3AB124 #53D73C

Accessibility & contrast

On white

5.13
#297E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#297E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297E1A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297E1A#FFFFFF#000000##FFFFFF
##297E1A1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817202
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#197A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297e1a;
/* rgb */ color: rgb(41, 126, 26);
/* oklch */ color: oklch(52.2% 0.156 141.0);
Tailwind
colors: {
  custom: {
    50: '#6fa45f',
    500: '#297e1a',
    950: '#000000',
  },
}
SCSS
$custom: #297e1a;
$custom-light: #6fa45f;
$custom-dark: #000000;
JSON
{
  "hex": "#297e1a",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 111,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52223,
    "c": 0.15565,
    "h": 141
  },
  "luminance": 0.15468
}

Semantic roles & 50–950 ramp

primary
#297E1A
secondary
#A142B2
accent
#3FE9CF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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