#297D15#297D15

#297D15 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.157 H 140.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#297D15
RGBrgb(41, 125, 21)
HSLhsl(108, 71%, 29%)
HSVhsv(108, 83%, 49%)
CMYKcmyk(67.2%, 0%, 83.2%, 51%)
CIE-LABlab(45.90, -44.23, 45.00)
CIE-LCHlch(45.90, 63.09, 134.51°)
OKLaboklab(51.91% -0.1212 0.0999)
OKLCHoklch(51.91% 0.157 140.5)
XYZxyz(8.3830, 15.1920, 3.1999)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297D15 #69157D
analogous
#5D7D15 #297D15 #157D35
triadic
#297D15 #15297D #7D1529
tetradic
#297D15 #155D7D #69157D #7D3515
square
#297D15 #155D7D #69157D #7D3515
split-complementary
#297D15 #35157D #7D155D
monochromatic
#091A04 #18490C #297D15 #3AB11E #51DC30

Accessibility & contrast

On white

5.20
#297D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#297D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297D15
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297D15#FFFFFF#000000##FFFFFF
##297D151.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#1B796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #297d15;
/* rgb */ color: rgb(41, 125, 21);
/* oklch */ color: oklch(51.9% 0.157 140.5);
Tailwind
colors: {
  custom: {
    50: '#6fa35c',
    500: '#297d15',
    950: '#000000',
  },
}
SCSS
$custom: #297d15;
$custom-light: #6fa35c;
$custom-dark: #000000;
JSON
{
  "hex": "#297d15",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 108.462,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51906,
    "c": 0.15703,
    "h": 140.5
  },
  "luminance": 0.15193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #297D15

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

Preview Lab → · Contrast checker → · Palette generator →

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