#298D41#298D41

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

Color values

HEX#298D41
RGBrgb(41, 141, 65)
HSLhsl(134, 55%, 36%)
HSVhsv(134, 71%, 55%)
CMYKcmyk(70.9%, 0%, 53.9%, 44.7%)
CIE-LABlab(51.73, -45.39, 32.17)
CIE-LCHlch(51.73, 55.64, 144.68°)
OKLaboklab(56.86% -0.1223 0.0774)
OKLCHoklch(56.86% 0.145 147.7)
XYZxyz(11.3926, 19.9016, 8.2410)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298D41 #8D2975
analogous
#438D29 #298D41 #298D73
triadic
#298D41 #41298D #8D4129
tetradic
#298D41 #29438D #8D2975 #8D7329
square
#298D41 #29438D #8D2975 #8D7329
split-complementary
#298D41 #73298D #8D2943
monochromatic
#0D2E15 #1B5E2B #298D41 #37BC57 #60D17B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298D41#FFFFFF#000000##000000
##298D411.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)
#8F803A
Deuteranopia (green-blind)
#837847
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #298d41;
/* rgb */ color: rgb(41, 141, 65);
/* oklch */ color: oklch(56.9% 0.145 147.7);
Tailwind
colors: {
  custom: {
    50: '#71af77',
    500: '#298d41',
    950: '#000000',
  },
}
SCSS
$custom: #298d41;
$custom-light: #71af77;
$custom-dark: #000000;
JSON
{
  "hex": "#298d41",
  "rgb": {
    "r": 41,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 134.4,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56861,
    "c": 0.14477,
    "h": 147.7
  },
  "luminance": 0.19903
}

Semantic roles & 50–950 ramp

primary
#298D41
secondary
#B65BA1
accent
#4ABBDE
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #298D41

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

Preview Lab → · Contrast checker → · Palette generator →

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