#298B21#298B21

#298B21 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.167 H 142.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#298B21
RGBrgb(41, 139, 33)
HSLhsl(115, 62%, 34%)
HSVhsv(115, 76%, 55%)
CMYKcmyk(70.5%, 0%, 76.3%, 45.5%)
CIE-LABlab(50.74, -48.36, 45.59)
CIE-LCHlch(50.74, 66.46, 136.69°)
OKLaboklab(55.95% -0.1317 0.1028)
OKLCHoklch(55.95% 0.167 142)
XYZxyz(10.4210, 19.0453, 4.5655)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298B21 #83218B
analogous
#5E8B21 #298B21 #218B4E
triadic
#298B21 #21298B #8B2129
tetradic
#298B21 #215E8B #83218B #8B4E21
square
#298B21 #215E8B #83218B #8B4E21
split-complementary
#298B21 #4E218B #8B215E
monochromatic
#0C280A #1A5A15 #298B21 #38BC2D #5BD651

Accessibility & contrast

On white

4.37
#298B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#298B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298B21
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298B21#FFFFFF#000000##000000
##298B211.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0B
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#108777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #298b21;
/* rgb */ color: rgb(41, 139, 33);
/* oklch */ color: oklch(55.9% 0.167 142.0);
Tailwind
colors: {
  custom: {
    50: '#72ae64',
    500: '#298b21',
    950: '#000000',
  },
}
SCSS
$custom: #298b21;
$custom-light: #72ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#298b21",
  "rgb": {
    "r": 41,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 115.472,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55945,
    "c": 0.16711,
    "h": 142
  },
  "luminance": 0.19046
}

Semantic roles & 50–950 ramp

primary
#298B21
secondary
#B14FB9
accent
#43E5D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298B21

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

Preview Lab → · Contrast checker → · Palette generator →

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