#298017#298017

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

Color values

HEX#298017
RGBrgb(41, 128, 23)
HSLhsl(110, 70%, 30%)
HSVhsv(110, 82%, 50%)
CMYKcmyk(68%, 0%, 82%, 49.8%)
CIE-LABlab(46.94, -45.18, 45.35)
CIE-LCHlch(46.94, 64.01, 134.90°)
OKLaboklab(52.77% -0.1237 0.1009)
OKLCHoklch(52.77% 0.16 140.8)
XYZxyz(8.7878, 15.9707, 3.4300)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298017 #6E1780
analogous
#5E8017 #298017 #178039
triadic
#298017 #172980 #801729
tetradic
#298017 #175E80 #6E1780 #803917
square
#298017 #175E80 #6E1780 #803917
split-complementary
#298017 #391780 #80175E
monochromatic
#081A05 #184C0E #298017 #3AB420 #53DB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298017#FFFFFF#000000##FFFFFF
##2980171.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)
#837400
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#197C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #298017;
/* rgb */ color: rgb(41, 128, 23);
/* oklch */ color: oklch(52.8% 0.160 140.8);
Tailwind
colors: {
  custom: {
    50: '#70a65e',
    500: '#298017',
    950: '#000000',
  },
}
SCSS
$custom: #298017;
$custom-light: #70a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#298017",
  "rgb": {
    "r": 41,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 109.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52772,
    "c": 0.1596,
    "h": 140.8
  },
  "luminance": 0.15972
}

Semantic roles & 50–950 ramp

primary
#298017
secondary
#A03EB4
accent
#3BECCE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #298017

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

Preview Lab → · Contrast checker → · Palette generator →

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