#297B15#297B15

#297B15 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.155 H 140.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#297B15
RGBrgb(41, 123, 21)
HSLhsl(108, 71%, 28%)
HSVhsv(108, 83%, 48%)
CMYKcmyk(66.7%, 0%, 82.9%, 51.8%)
CIE-LABlab(45.21, -43.50, 44.35)
CIE-LCHlch(45.21, 62.13, 134.44°)
OKLaboklab(51.34% -0.1192 0.0985)
OKLCHoklch(51.34% 0.155 140.4)
XYZxyz(8.1324, 14.6907, 3.1163)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297B15 #67157B
analogous
#5C7B15 #297B15 #157B34
triadic
#297B15 #15297B #7B1529
tetradic
#297B15 #155C7B #67157B #7B3415
square
#297B15 #155C7B #67157B #7B3415
split-complementary
#297B15 #34157B #7B155C
monochromatic
#091A04 #18470C #297B15 #3AAF1E #51DB2F

Accessibility & contrast

On white

5.33
#297B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#297B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297B15
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297B15#FFFFFF#000000##FFFFFF
##297B151.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#756821
Tritanopia (blue-blind)
#1C7768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #297b15;
/* rgb */ color: rgb(41, 123, 21);
/* oklch */ color: oklch(51.3% 0.155 140.4);
Tailwind
colors: {
  custom: {
    50: '#6fa25c',
    500: '#297b15',
    950: '#000000',
  },
}
SCSS
$custom: #297b15;
$custom-light: #6fa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#297b15",
  "rgb": {
    "r": 41,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 108.235,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51336,
    "c": 0.15466,
    "h": 140.4
  },
  "luminance": 0.14691
}

Semantic roles & 50–950 ramp

primary
#297B15
secondary
#993BB0
accent
#3AEECA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #297B15

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

Preview Lab → · Contrast checker → · Palette generator →

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