#297F15#297F15

#297F15 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.159 H 140.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#297F15
RGBrgb(41, 127, 21)
HSLhsl(109, 72%, 29%)
HSVhsv(109, 83%, 50%)
CMYKcmyk(67.7%, 0%, 83.5%, 50.2%)
CIE-LABlab(46.58, -44.95, 45.64)
CIE-LCHlch(46.58, 64.06, 134.56°)
OKLaboklab(52.48% -0.1231 0.1012)
OKLCHoklch(52.48% 0.159 140.6)
XYZxyz(8.6388, 15.7034, 3.2851)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297F15 #6B157F
analogous
#5E7F15 #297F15 #157F36
triadic
#297F15 #15297F #7F1529
tetradic
#297F15 #155E7F #6B157F #7F3615
square
#297F15 #155E7F #6B157F #7F3615
split-complementary
#297F15 #36157F #7F155E
monochromatic
#081A04 #184A0C #297F15 #3AB41E #52DD31

Accessibility & contrast

On white

5.07
#297F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#297F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297F15
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297F15#FFFFFF#000000##FFFFFF
##297F151.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786C22
Tritanopia (blue-blind)
#1A7B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297f15;
/* rgb */ color: rgb(41, 127, 21);
/* oklch */ color: oklch(52.5% 0.159 140.6);
Tailwind
colors: {
  custom: {
    50: '#70a55d',
    500: '#297f15',
    950: '#000000',
  },
}
SCSS
$custom: #297f15;
$custom-light: #70a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#297f15",
  "rgb": {
    "r": 41,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 108.679,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52476,
    "c": 0.15938,
    "h": 140.6
  },
  "luminance": 0.15704
}

Semantic roles & 50–950 ramp

primary
#297F15
secondary
#9D3CB4
accent
#39EECC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297F15

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

Preview Lab → · Contrast checker → · Palette generator →

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