#298221#298221

#298221 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.156 H 141.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#298221
RGBrgb(41, 130, 33)
HSLhsl(115, 60%, 32%)
HSVhsv(115, 75%, 51%)
CMYKcmyk(68.5%, 0%, 74.6%, 49%)
CIE-LABlab(47.68, -45.16, 42.50)
CIE-LCHlch(47.68, 62.01, 136.74°)
OKLaboklab(53.41% -0.1231 0.0964)
OKLCHoklch(53.41% 0.156 141.9)
XYZxyz(9.1711, 16.5455, 4.1488)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298221 #7A2182
analogous
#598221 #298221 #21824A
triadic
#298221 #212982 #822129
tetradic
#298221 #215982 #7A2182 #824A21
square
#298221 #215982 #7A2182 #824A21
split-complementary
#298221 #4A2182 #822159
monochromatic
#0A2008 #1A5115 #298221 #38B32D #57D24C

Accessibility & contrast

On white

4.87
#298221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#298221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298221
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298221#FFFFFF#000000##FFFFFF
##2982211.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857610
Deuteranopia (green-blind)
#7B6E2B
Tritanopia (blue-blind)
#167E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #298221;
/* rgb */ color: rgb(41, 130, 33);
/* oklch */ color: oklch(53.4% 0.156 141.9);
Tailwind
colors: {
  custom: {
    50: '#70a763',
    500: '#298221',
    950: '#000000',
  },
}
SCSS
$custom: #298221;
$custom-light: #70a763;
$custom-dark: #000000;
JSON
{
  "hex": "#298221",
  "rgb": {
    "r": 41,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 115.052,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5341,
    "c": 0.15632,
    "h": 141.9
  },
  "luminance": 0.16546
}

Semantic roles & 50–950 ramp

primary
#298221
secondary
#AC4AB4
accent
#45E3D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #298221

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

Preview Lab → · Contrast checker → · Palette generator →

#298221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva