#298D24#298D24

#298D24 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.168 H 142.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#298D24
RGBrgb(41, 141, 36)
HSLhsl(117, 59%, 35%)
HSVhsv(117, 74%, 55%)
CMYKcmyk(70.9%, 0%, 74.5%, 44.7%)
CIE-LABlab(51.44, -48.82, 45.16)
CIE-LCHlch(51.44, 66.50, 137.23°)
OKLaboklab(56.53% -0.1328 0.1024)
OKLCHoklch(56.53% 0.168 142.4)
XYZxyz(10.7571, 19.6474, 4.8941)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298D24 #88248D
analogous
#5E8D24 #298D24 #248D54
triadic
#298D24 #24298D #8D2429
tetradic
#298D24 #245E8D #88248D #8D5424
square
#298D24 #245E8D #88248D #8D5424
split-complementary
#298D24 #54248D #8D245E
monochromatic
#0D2B0B #1B5C18 #298D24 #37BE30 #5DD457

Accessibility & contrast

On white

4.26
#298D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#298D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298D24
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298D24#FFFFFF#000000##000000
##298D241.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#0E8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #298d24;
/* rgb */ color: rgb(41, 141, 36);
/* oklch */ color: oklch(56.5% 0.168 142.4);
Tailwind
colors: {
  custom: {
    50: '#72af66',
    500: '#298d24',
    950: '#000000',
  },
}
SCSS
$custom: #298d24;
$custom-light: #72af66;
$custom-dark: #000000;
JSON
{
  "hex": "#298d24",
  "rgb": {
    "r": 41,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 117.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56528,
    "c": 0.16766,
    "h": 142.4
  },
  "luminance": 0.19649
}

Semantic roles & 50–950 ramp

primary
#298D24
secondary
#B454B8
accent
#45E3DB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298D24

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

Preview Lab → · Contrast checker → · Palette generator →

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