#298E20#298E20

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

Color values

HEX#298E20
RGBrgb(41, 142, 32)
HSLhsl(115, 63%, 34%)
HSVhsv(115, 77%, 56%)
CMYKcmyk(71.1%, 0%, 77.5%, 44.3%)
CIE-LABlab(51.75, -49.48, 46.95)
CIE-LCHlch(51.75, 68.21, 136.50°)
OKLaboklab(56.78% -0.1348 0.1055)
OKLCHoklch(56.78% 0.171 141.9)
XYZxyz(10.8476, 19.9205, 4.6396)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E20 #85208E
analogous
#608E20 #298E20 #208E4E
triadic
#298E20 #20298E #8E2029
tetradic
#298E20 #20608E #85208E #8E4E20
square
#298E20 #20608E #85208E #8E4E20
split-complementary
#298E20 #4E208E #8E2060
monochromatic
#0C2A09 #1B5C15 #298E20 #37C02B #5CD851

Accessibility & contrast

On white

4.21
#298E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##298E20#FFFFFF#000000##000000
##298E201.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918007
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#0E8A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #298e20;
/* rgb */ color: rgb(41, 142, 32);
/* oklch */ color: oklch(56.8% 0.171 141.9);
Tailwind
colors: {
  custom: {
    50: '#73b064',
    500: '#298e20',
    950: '#000000',
  },
}
SCSS
$custom: #298e20;
$custom-light: #73b064;
$custom-dark: #000000;
JSON
{
  "hex": "#298e20",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 115.091,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56778,
    "c": 0.1712,
    "h": 141.9
  },
  "luminance": 0.19922
}

Semantic roles & 50–950 ramp

primary
#298E20
secondary
#B24FBB
accent
#42E6D9
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #298E20

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

Preview Lab → · Contrast checker → · Palette generator →

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