#298D21#298D21

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

Color values

HEX#298D21
RGBrgb(41, 141, 33)
HSLhsl(116, 62%, 34%)
HSVhsv(116, 77%, 55%)
CMYKcmyk(70.9%, 0%, 76.6%, 44.7%)
CIE-LABlab(51.42, -49.06, 46.26)
CIE-LCHlch(51.42, 67.43, 136.68°)
OKLaboklab(56.51% -0.1336 0.1042)
OKLCHoklch(56.51% 0.169 142)
XYZxyz(10.7132, 19.6298, 4.6629)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298D21 #85218D
analogous
#5F8D21 #298D21 #218D4F
triadic
#298D21 #21298D #8D2129
tetradic
#298D21 #215F8D #85218D #8D4F21
square
#298D21 #215F8D #85218D #8D4F21
split-complementary
#298D21 #4F218D #8D215F
monochromatic
#0C2A0A #1B5B15 #298D21 #37BF2D #5CD652

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298D21#FFFFFF#000000##000000
##298D211.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)
#907F0A
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#0F8978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298d21;
/* rgb */ color: rgb(41, 141, 33);
/* oklch */ color: oklch(56.5% 0.169 142.0);
Tailwind
colors: {
  custom: {
    50: '#72af64',
    500: '#298d21',
    950: '#000000',
  },
}
SCSS
$custom: #298d21;
$custom-light: #72af64;
$custom-dark: #000000;
JSON
{
  "hex": "#298d21",
  "rgb": {
    "r": 41,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 115.556,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56505,
    "c": 0.16947,
    "h": 142
  },
  "luminance": 0.19631
}

Semantic roles & 50–950 ramp

primary
#298D21
secondary
#B250BA
accent
#43E5D9
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298D21

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

Preview Lab → · Contrast checker → · Palette generator →

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