#297E15#297E15

#297E15 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.158 H 140.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#297E15
RGBrgb(41, 126, 21)
HSLhsl(109, 71%, 29%)
HSVhsv(109, 83%, 49%)
CMYKcmyk(67.5%, 0%, 83.3%, 50.6%)
CIE-LABlab(46.24, -44.59, 45.32)
CIE-LCHlch(46.24, 63.58, 134.53°)
OKLaboklab(52.19% -0.1222 0.1005)
OKLCHoklch(52.19% 0.158 140.6)
XYZxyz(8.5102, 15.4464, 3.2423)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297E15 #6A157E
analogous
#5E7E15 #297E15 #157E36
triadic
#297E15 #15297E #7E1529
tetradic
#297E15 #155E7E #6A157E #7E3615
square
#297E15 #155E7E #6A157E #7E3615
split-complementary
#297E15 #36157E #7E155E
monochromatic
#091A04 #184A0C #297E15 #3AB21E #52DD31

Accessibility & contrast

On white

5.14
#297E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #297E15
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297E15#FFFFFF#000000##FFFFFF
##297E151.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#1A7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297e15;
/* rgb */ color: rgb(41, 126, 21);
/* oklch */ color: oklch(52.2% 0.158 140.6);
Tailwind
colors: {
  custom: {
    50: '#70a45d',
    500: '#297e15',
    950: '#000000',
  },
}
SCSS
$custom: #297e15;
$custom-light: #70a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#297e15",
  "rgb": {
    "r": 41,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 108.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.1582,
    "h": 140.6
  },
  "luminance": 0.15447
}

Semantic roles & 50–950 ramp

primary
#297E15
secondary
#9C3CB3
accent
#3AEECC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297E15

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

Preview Lab → · Contrast checker → · Palette generator →

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