#498C17#498C17

#498C17 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.159 H 135.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#498C17
RGBrgb(73, 140, 23)
HSLhsl(94, 72%, 32%)
HSVhsv(94, 84%, 55%)
CMYKcmyk(47.9%, 0%, 83.6%, 45.1%)
CIE-LABlab(52.10, -40.77, 50.55)
CIE-LCHlch(52.10, 64.94, 128.89°)
OKLaboklab(57.35% -0.1139 0.1113)
OKLCHoklch(57.35% 0.159 135.7)
XYZxyz(12.2801, 20.2337, 4.0689)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498C17 #5A178C
analogous
#848C17 #498C17 #178C20
triadic
#498C17 #17498C #8C1749
tetradic
#498C17 #17848C #5A178C #8C2017
square
#498C17 #17848C #5A178C #8C2017
split-complementary
#498C17 #20178C #8C1784
monochromatic
#122306 #2E570E #498C17 #64C120 #83DF3E

Accessibility & contrast

On white

4.16
#498C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#498C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #498C17
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498C17#FFFFFF#000000##000000
##498C171.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#897A25
Tritanopia (blue-blind)
#468677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #498c17;
/* rgb */ color: rgb(73, 140, 23);
/* oklch */ color: oklch(57.4% 0.159 135.7);
Tailwind
colors: {
  custom: {
    50: '#83ae60',
    500: '#498c17',
    950: '#000000',
  },
}
SCSS
$custom: #498c17;
$custom-light: #83ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#498c17",
  "rgb": {
    "r": 73,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 94.359,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.15929,
    "h": 135.7
  },
  "luminance": 0.20234
}

Semantic roles & 50–950 ramp

primary
#498C17
secondary
#893FBF
accent
#39EFA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #498C17

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

Preview Lab → · Contrast checker → · Palette generator →

#498C17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva