#498012#498012

#498012 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.1% C 0.147 H 133.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#498012
RGBrgb(73, 128, 18)
HSLhsl(90, 75%, 29%)
HSVhsv(90, 86%, 50%)
CMYKcmyk(43%, 0%, 85.9%, 49.8%)
CIE-LABlab(48.13, -35.94, 48.36)
CIE-LCHlch(48.13, 60.25, 126.62°)
OKLaboklab(54.09% -0.1013 0.1059)
OKLCHoklch(54.09% 0.147 133.7)
XYZxyz(10.5758, 16.8979, 3.2765)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498012 #491280
analogous
#808012 #498012 #128012
triadic
#498012 #124980 #801249
tetradic
#498012 #128080 #491280 #801212
square
#498012 #128080 #491280 #801212
split-complementary
#498012 #121280 #801280
monochromatic
#0F1B04 #2A4A0A #498012 #68B61A #86E12B

Accessibility & contrast

On white

4.79
#498012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#498012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #498012
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498012#FFFFFF#000000##FFFFFF
##4980121.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#497B6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #498012;
/* rgb */ color: rgb(73, 128, 18);
/* oklch */ color: oklch(54.1% 0.147 133.7);
Tailwind
colors: {
  custom: {
    50: '#81a55c',
    500: '#498012',
    950: '#000000',
  },
}
SCSS
$custom: #498012;
$custom-light: #81a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#498012",
  "rgb": {
    "r": 73,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 90,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54088,
    "c": 0.14656,
    "h": 133.7
  },
  "luminance": 0.16898
}

Semantic roles & 50–950 ramp

primary
#498012
secondary
#7738B6
accent
#36F294
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #498012

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

Preview Lab → · Contrast checker → · Palette generator →

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