#298721#298721

#298721 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.162 H 142.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#298721
RGBrgb(41, 135, 33)
HSLhsl(115, 61%, 33%)
HSVhsv(115, 76%, 53%)
CMYKcmyk(69.6%, 0%, 75.6%, 47.1%)
CIE-LABlab(49.38, -46.95, 44.23)
CIE-LCHlch(49.38, 64.50, 136.71°)
OKLaboklab(54.82% -0.1279 0.1)
OKLCHoklch(54.82% 0.162 142)
XYZxyz(9.8524, 17.9081, 4.3759)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298721 #7F2187
analogous
#5C8721 #298721 #21874C
triadic
#298721 #212987 #872129
tetradic
#298721 #215C87 #7F2187 #874C21
square
#298721 #215C87 #7F2187 #874C21
split-complementary
#298721 #4C2187 #87215C
monochromatic
#0B2509 #1A5615 #298721 #38B82D #59D44F

Accessibility & contrast

On white

4.58
#298721 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#298721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298721
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298721#FFFFFF#000000##000000
##2987211.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0E
Deuteranopia (green-blind)
#7F732C
Tritanopia (blue-blind)
#138373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #298721;
/* rgb */ color: rgb(41, 135, 33);
/* oklch */ color: oklch(54.8% 0.162 142.0);
Tailwind
colors: {
  custom: {
    50: '#71ab63',
    500: '#298721',
    950: '#000000',
  },
}
SCSS
$custom: #298721;
$custom-light: #71ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#298721",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 33
  },
  "hsl": {
    "h": 115.294,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5482,
    "c": 0.16236,
    "h": 142
  },
  "luminance": 0.17909
}

Semantic roles & 50–950 ramp

primary
#298721
secondary
#AF4DB7
accent
#44E4D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298721

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

Preview Lab → · Contrast checker → · Palette generator →

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