#297918#297918

#297918 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.151 H 140.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#297918
RGBrgb(41, 121, 24)
HSLhsl(109, 67%, 28%)
HSVhsv(109, 80%, 47%)
CMYKcmyk(66.1%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.53, -42.57, 42.71)
CIE-LCHlch(44.53, 60.30, 134.90°)
OKLaboklab(50.78% -0.1166 0.0955)
OKLCHoklch(50.78% 0.151 140.7)
XYZxyz(7.9163, 14.2113, 3.1899)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297918 #681879
analogous
#597918 #297918 #187937
triadic
#297918 #182979 #791829
tetradic
#297918 #185979 #681879 #793718
square
#297918 #185979 #681879 #793718
split-complementary
#297918 #371879 #791859
monochromatic
#091A05 #18460E #297918 #3AAC22 #51D735

Accessibility & contrast

On white

5.47
#297918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#297918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297918
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297918#FFFFFF#000000##FFFFFF
##2979181.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#1C7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #297918;
/* rgb */ color: rgb(41, 121, 24);
/* oklch */ color: oklch(50.8% 0.151 140.7);
Tailwind
colors: {
  custom: {
    50: '#6ea05d',
    500: '#297918',
    950: '#000000',
  },
}
SCSS
$custom: #297918;
$custom-light: #6ea05d;
$custom-dark: #000000;
JSON
{
  "hex": "#297918",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 109.485,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50784,
    "c": 0.15071,
    "h": 140.7
  },
  "luminance": 0.14212
}

Semantic roles & 50–950 ramp

primary
#297918
secondary
#9A3FAE
accent
#3EEACC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #297918

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

Preview Lab → · Contrast checker → · Palette generator →

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