#298016#298016

#298016 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.160 H 140.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#298016
RGBrgb(41, 128, 22)
HSLhsl(109, 71%, 29%)
HSVhsv(109, 83%, 50%)
CMYKcmyk(68%, 0%, 82.8%, 49.8%)
CIE-LABlab(46.93, -45.25, 45.66)
CIE-LCHlch(46.93, 64.28, 134.74°)
OKLaboklab(52.77% -0.1239 0.1014)
OKLCHoklch(52.77% 0.16 140.7)
XYZxyz(8.7780, 15.9668, 3.3782)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298016 #6D1680
analogous
#5E8016 #298016 #168038
triadic
#298016 #162980 #801629
tetradic
#298016 #165E80 #6D1680 #803816
square
#298016 #165E80 #6D1680 #803816
split-complementary
#298016 #381680 #80165E
monochromatic
#081A04 #184C0D #298016 #3AB41F #52DC34

Accessibility & contrast

On white

5.01
#298016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#298016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298016
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298016#FFFFFF#000000##FFFFFF
##2980161.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#197C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #298016;
/* rgb */ color: rgb(41, 128, 22);
/* oklch */ color: oklch(52.8% 0.160 140.7);
Tailwind
colors: {
  custom: {
    50: '#70a65d',
    500: '#298016',
    950: '#000000',
  },
}
SCSS
$custom: #298016;
$custom-light: #70a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#298016",
  "rgb": {
    "r": 41,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 109.245,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.16008,
    "h": 140.7
  },
  "luminance": 0.15968
}

Semantic roles & 50–950 ramp

primary
#298016
secondary
#9F3DB5
accent
#3AEDCD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #298016

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

Preview Lab → · Contrast checker → · Palette generator →

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