#298517#298517

#298517 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.165 H 140.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#298517
RGBrgb(41, 133, 23)
HSLhsl(110, 71%, 31%)
HSVhsv(110, 83%, 52%)
CMYKcmyk(69.2%, 0%, 82.7%, 47.8%)
CIE-LABlab(48.65, -46.96, 46.95)
CIE-LCHlch(48.65, 66.41, 135.00°)
OKLaboklab(54.19% -0.1284 0.1042)
OKLCHoklch(54.19% 0.165 140.9)
XYZxyz(9.4561, 17.3074, 3.6528)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298517 #731785
analogous
#608517 #298517 #17853C
triadic
#298517 #172985 #851729
tetradic
#298517 #176085 #731785 #853C17
square
#298517 #176085 #731785 #853C17
split-complementary
#298517 #3C1785 #851760
monochromatic
#091D05 #19510E #298517 #39B920 #54DD3A

Accessibility & contrast

On white

4.71
#298517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#298517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298517
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298517#FFFFFF#000000##FFFFFF
##2985171.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#178171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #298517;
/* rgb */ color: rgb(41, 133, 23);
/* oklch */ color: oklch(54.2% 0.165 140.9);
Tailwind
colors: {
  custom: {
    50: '#71a95e',
    500: '#298517',
    950: '#000000',
  },
}
SCSS
$custom: #298517;
$custom-light: #71a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#298517",
  "rgb": {
    "r": 41,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 110.182,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54188,
    "c": 0.16542,
    "h": 140.9
  },
  "luminance": 0.17308
}

Semantic roles & 50–950 ramp

primary
#298517
secondary
#A53FB9
accent
#3BEDD0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #298517

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

Preview Lab → · Contrast checker → · Palette generator →

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