#298D22#298D22

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

Color values

HEX#298D22
RGBrgb(41, 141, 34)
HSLhsl(116, 61%, 34%)
HSVhsv(116, 76%, 55%)
CMYKcmyk(70.9%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.42, -48.98, 45.90)
CIE-LCHlch(51.42, 67.13, 136.86°)
OKLaboklab(56.51% -0.1333 0.1036)
OKLCHoklch(56.51% 0.169 142.1)
XYZxyz(10.7274, 19.6355, 4.7378)
Luminance0.1964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298D22 #86228D
analogous
#5F8D22 #298D22 #228D51
triadic
#298D22 #22298D #8D2229
tetradic
#298D22 #225F8D #86228D #8D5122
square
#298D22 #225F8D #86228D #8D5122
split-complementary
#298D22 #51228D #8D225F
monochromatic
#0C2A0A #1B5C16 #298D22 #37BE2E #5CD654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298D22#FFFFFF#000000##000000
##298D221.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)
#907F0D
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#0E8978
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #298d22;
/* rgb */ color: rgb(41, 141, 34);
/* oklch */ color: oklch(56.5% 0.169 142.1);
Tailwind
colors: {
  custom: {
    50: '#72af65',
    500: '#298d22',
    950: '#000000',
  },
}
SCSS
$custom: #298d22;
$custom-light: #72af65;
$custom-dark: #000000;
JSON
{
  "hex": "#298d22",
  "rgb": {
    "r": 41,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 116.075,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56513,
    "c": 0.16888,
    "h": 142.1
  },
  "luminance": 0.19637
}

Semantic roles & 50–950 ramp

primary
#298D22
secondary
#B351B9
accent
#44E4DA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298D22

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

Preview Lab → · Contrast checker → · Palette generator →

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