#297C15#297C15

#297C15 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.156 H 140.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#297C15
RGBrgb(41, 124, 21)
HSLhsl(108, 71%, 28%)
HSVhsv(108, 83%, 49%)
CMYKcmyk(66.9%, 0%, 83.1%, 51.4%)
CIE-LABlab(45.55, -43.86, 44.68)
CIE-LCHlch(45.55, 62.61, 134.48°)
OKLaboklab(51.62% -0.1202 0.0992)
OKLCHoklch(51.62% 0.156 140.5)
XYZxyz(8.2571, 14.9400, 3.1579)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297C15 #68157C
analogous
#5C7C15 #297C15 #157C35
triadic
#297C15 #15297C #7C1529
tetradic
#297C15 #155C7C #68157C #7C3515
square
#297C15 #155C7C #68157C #7C3515
split-complementary
#297C15 #35157C #7C155C
monochromatic
#091A04 #18480C #297C15 #3AB01E #51DC30

Accessibility & contrast

On white

5.27
#297C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#297C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297C15
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297C15#FFFFFF#000000##FFFFFF
##297C151.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#1B7869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #297c15;
/* rgb */ color: rgb(41, 124, 21);
/* oklch */ color: oklch(51.6% 0.156 140.5);
Tailwind
colors: {
  custom: {
    50: '#6fa35c',
    500: '#297c15',
    950: '#000000',
  },
}
SCSS
$custom: #297c15;
$custom-light: #6fa35c;
$custom-dark: #000000;
JSON
{
  "hex": "#297c15",
  "rgb": {
    "r": 41,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 108.35,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51621,
    "c": 0.15585,
    "h": 140.5
  },
  "luminance": 0.14941
}

Semantic roles & 50–950 ramp

primary
#297C15
secondary
#9A3CB1
accent
#3AEECB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #297C15

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

Preview Lab → · Contrast checker → · Palette generator →

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