#298F17#298F17

#298F17 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.177 H 141.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#298F17
RGBrgb(41, 143, 23)
HSLhsl(111, 72%, 33%)
HSVhsv(111, 84%, 56%)
CMYKcmyk(71.3%, 0%, 83.9%, 43.9%)
CIE-LABlab(52.04, -50.41, 50.10)
CIE-LCHlch(52.04, 71.07, 135.17°)
OKLaboklab(57% -0.1377 0.1108)
OKLCHoklch(57% 0.177 141.2)
XYZxyz(10.8910, 20.1770, 4.1310)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F17 #7D178F
analogous
#658F17 #298F17 #178F41
triadic
#298F17 #17298F #8F1729
tetradic
#298F17 #17658F #7D178F #8F4117
square
#298F17 #17658F #7D178F #8F4117
split-complementary
#298F17 #41178F #8F1765
monochromatic
#0B2606 #1A5A0F #298F17 #38C41F #58E040

Accessibility & contrast

On white

4.17
#298F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#298F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298F17
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298F17#FFFFFF#000000##000000
##298F171.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#108A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298f17;
/* rgb */ color: rgb(41, 143, 23);
/* oklch */ color: oklch(57.0% 0.177 141.2);
Tailwind
colors: {
  custom: {
    50: '#73b160',
    500: '#298f17',
    950: '#000000',
  },
}
SCSS
$custom: #298f17;
$custom-light: #73b160;
$custom-dark: #000000;
JSON
{
  "hex": "#298f17",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 111,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57003,
    "c": 0.17679,
    "h": 141.2
  },
  "luminance": 0.20178
}

Semantic roles & 50–950 ramp

primary
#298F17
secondary
#AE41C1
accent
#39EFD4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #298F17

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

Preview Lab → · Contrast checker → · Palette generator →

#298F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva