#297718#297718

#297718 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.148 H 140.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#297718
RGBrgb(41, 119, 24)
HSLhsl(109, 66%, 28%)
HSVhsv(109, 80%, 47%)
CMYKcmyk(65.5%, 0%, 79.8%, 53.3%)
CIE-LABlab(43.84, -41.83, 42.04)
CIE-LCHlch(43.84, 59.30, 134.85°)
OKLaboklab(50.21% -0.1146 0.0941)
OKLCHoklch(50.21% 0.148 140.6)
XYZxyz(7.6758, 13.7303, 3.1097)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297718 #661877
analogous
#587718 #297718 #187736
triadic
#297718 #182977 #771829
tetradic
#297718 #185877 #661877 #773618
square
#297718 #185877 #661877 #773618
split-complementary
#297718 #361877 #771858
monochromatic
#091905 #17440E #297718 #3BAA22 #51D633

Accessibility & contrast

On white

5.61
#297718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#297718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297718
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297718#FFFFFF#000000##FFFFFF
##2977181.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C02
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#1D7365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #297718;
/* rgb */ color: rgb(41, 119, 24);
/* oklch */ color: oklch(50.2% 0.148 140.6);
Tailwind
colors: {
  custom: {
    50: '#6e9f5d',
    500: '#297718',
    950: '#000000',
  },
}
SCSS
$custom: #297718;
$custom-light: #6e9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#297718",
  "rgb": {
    "r": 41,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 109.263,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50212,
    "c": 0.14828,
    "h": 140.6
  },
  "luminance": 0.13731
}

Semantic roles & 50–950 ramp

primary
#297718
secondary
#983FAC
accent
#3EE9CB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #297718

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

Preview Lab → · Contrast checker → · Palette generator →

#297718 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva