#298E22#298E22

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

Color values

HEX#298E22
RGBrgb(41, 142, 34)
HSLhsl(116, 61%, 35%)
HSVhsv(116, 76%, 56%)
CMYKcmyk(71.1%, 0%, 76.1%, 44.3%)
CIE-LABlab(51.76, -49.33, 46.24)
CIE-LCHlch(51.76, 67.61, 136.85°)
OKLaboklab(56.79% -0.1343 0.1043)
OKLCHoklch(56.79% 0.17 142.2)
XYZxyz(10.8756, 19.9317, 4.7871)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E22 #87228E
analogous
#5F8E22 #298E22 #228E51
triadic
#298E22 #22298E #8E2229
tetradic
#298E22 #225F8E #87228E #8E5122
square
#298E22 #225F8E #87228E #8E5122
split-complementary
#298E22 #51228E #8E225F
monochromatic
#0C2B0A #1B5D16 #298E22 #37BF2E #5DD654

Accessibility & contrast

On white

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

On black

4.99
#298E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E22
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E22#FFFFFF#000000##000000
##298E221.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #298e22;
/* rgb */ color: rgb(41, 142, 34);
/* oklch */ color: oklch(56.8% 0.170 142.2);
Tailwind
colors: {
  custom: {
    50: '#73b065',
    500: '#298e22',
    950: '#000000',
  },
}
SCSS
$custom: #298e22;
$custom-light: #73b065;
$custom-dark: #000000;
JSON
{
  "hex": "#298e22",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 116.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56792,
    "c": 0.17005,
    "h": 142.2
  },
  "luminance": 0.19933
}

Semantic roles & 50–950 ramp

primary
#298E22
secondary
#B352BA
accent
#43E4DA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #298E22

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

Preview Lab → · Contrast checker → · Palette generator →

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