#298D20#298D20

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

Color values

HEX#298D20
RGBrgb(41, 141, 32)
HSLhsl(115, 63%, 34%)
HSVhsv(115, 77%, 55%)
CMYKcmyk(70.9%, 0%, 77.3%, 44.7%)
CIE-LABlab(51.41, -49.14, 46.62)
CIE-LCHlch(51.41, 67.73, 136.51°)
OKLaboklab(56.5% -0.1339 0.1048)
OKLCHoklch(56.5% 0.17 141.9)
XYZxyz(10.6994, 19.6243, 4.5902)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298D20 #84208D
analogous
#608D20 #298D20 #208D4E
triadic
#298D20 #20298D #8D2029
tetradic
#298D20 #20608D #84208D #8D4E20
square
#298D20 #20608D #84208D #8D4E20
split-complementary
#298D20 #4E208D #8D2060
monochromatic
#0C2909 #1A5B15 #298D20 #38BF2B #5BD750

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298D20#FFFFFF#000000##000000
##298D201.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)
#907F08
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#0F8978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298d20;
/* rgb */ color: rgb(41, 141, 32);
/* oklch */ color: oklch(56.5% 0.170 141.9);
Tailwind
colors: {
  custom: {
    50: '#73af64',
    500: '#298d20',
    950: '#000000',
  },
}
SCSS
$custom: #298d20;
$custom-light: #73af64;
$custom-dark: #000000;
JSON
{
  "hex": "#298d20",
  "rgb": {
    "r": 41,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 115.046,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56498,
    "c": 0.17004,
    "h": 141.9
  },
  "luminance": 0.19625
}

Semantic roles & 50–950 ramp

primary
#298D20
secondary
#B24EBA
accent
#42E6D8
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298D20

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

Preview Lab → · Contrast checker → · Palette generator →

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