#498B17#498B17

#498B17 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.158 H 135.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#498B17
RGBrgb(73, 139, 23)
HSLhsl(94, 72%, 32%)
HSVhsv(94, 83%, 55%)
CMYKcmyk(47.5%, 0%, 83.5%, 45.5%)
CIE-LABlab(51.77, -40.36, 50.25)
CIE-LCHlch(51.77, 64.45, 128.77°)
OKLaboklab(57.08% -0.1128 0.1107)
OKLCHoklch(57.08% 0.158 135.5)
XYZxyz(12.1346, 19.9428, 4.0204)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498B17 #59178B
analogous
#838B17 #498B17 #178B1F
triadic
#498B17 #17498B #8B1749
tetradic
#498B17 #17838B #59178B #8B1F17
square
#498B17 #17838B #59178B #8B1F17
split-complementary
#498B17 #1F178B #8B1783
monochromatic
#122206 #2D560E #498B17 #65C020 #83DF3D

Accessibility & contrast

On white

4.21
#498B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#498B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #498B17
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498B17#FFFFFF#000000##000000
##498B171.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#887925
Tritanopia (blue-blind)
#478576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #498b17;
/* rgb */ color: rgb(73, 139, 23);
/* oklch */ color: oklch(57.1% 0.158 135.5);
Tailwind
colors: {
  custom: {
    50: '#83ad60',
    500: '#498b17',
    950: '#000000',
  },
}
SCSS
$custom: #498b17;
$custom-light: #83ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#498b17",
  "rgb": {
    "r": 73,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 94.138,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57084,
    "c": 0.15806,
    "h": 135.5
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#498B17
secondary
#883FBF
accent
#39EEA0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #498B17

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

Preview Lab → · Contrast checker → · Palette generator →

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