#298E17#298E17

#298E17 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.176 H 141.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#298E17
RGBrgb(41, 142, 23)
HSLhsl(111, 72%, 32%)
HSVhsv(111, 84%, 56%)
CMYKcmyk(71.1%, 0%, 83.8%, 44.3%)
CIE-LABlab(51.70, -50.07, 49.79)
CIE-LCHlch(51.70, 70.61, 135.16°)
OKLaboklab(56.72% -0.1368 0.1102)
OKLCHoklch(56.72% 0.176 141.2)
XYZxyz(10.7415, 19.8781, 4.0812)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E17 #7C178E
analogous
#658E17 #298E17 #178E40
triadic
#298E17 #17298E #8E1729
tetradic
#298E17 #17658E #7C178E #8E4017
square
#298E17 #17658E #7C178E #8E4017
split-complementary
#298E17 #40178E #8E1765
monochromatic
#0B2506 #1A590E #298E17 #38C320 #58E03F

Accessibility & contrast

On white

4.22
#298E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#298E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E17
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E17#FFFFFF#000000##000000
##298E171.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#118979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #298e17;
/* rgb */ color: rgb(41, 142, 23);
/* oklch */ color: oklch(56.7% 0.176 141.2);
Tailwind
colors: {
  custom: {
    50: '#73b060',
    500: '#298e17',
    950: '#000000',
  },
}
SCSS
$custom: #298e17;
$custom-light: #73b060;
$custom-dark: #000000;
JSON
{
  "hex": "#298e17",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 110.924,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56723,
    "c": 0.17566,
    "h": 141.2
  },
  "luminance": 0.19879
}

Semantic roles & 50–950 ramp

primary
#298E17
secondary
#AD40C0
accent
#39EFD3
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#091105
muted
#7B8079

Preview Lab

Preview with #298E17

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

Preview Lab → · Contrast checker → · Palette generator →

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