#498F12#498F12

#498F12 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.1% C 0.165 H 135.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#498F12
RGBrgb(73, 143, 18)
HSLhsl(94, 78%, 32%)
HSVhsv(94, 87%, 56%)
CMYKcmyk(49%, 0%, 87.4%, 43.9%)
CIE-LABlab(53.06, -42.21, 52.71)
CIE-LCHlch(53.06, 67.53, 128.69°)
OKLaboklab(58.14% -0.1181 0.1152)
OKLCHoklch(58.14% 0.165 135.7)
XYZxyz(12.6790, 21.1042, 3.9776)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498F12 #58128F
analogous
#888F12 #498F12 #128F1A
triadic
#498F12 #12498F #8F1249
tetradic
#498F12 #12888F #58128F #8F1A12
square
#498F12 #12888F #58128F #8F1A12
split-complementary
#498F12 #1A128F #8F1288
monochromatic
#122204 #2D590B #498F12 #65C519 #83E636

Accessibility & contrast

On white

4.02
#498F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#498F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #498F12
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498F12#FFFFFF#000000##000000
##498F121.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#468979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #498f12;
/* rgb */ color: rgb(73, 143, 18);
/* oklch */ color: oklch(58.1% 0.165 135.7);
Tailwind
colors: {
  custom: {
    50: '#83b05f',
    500: '#498f12',
    950: '#000000',
  },
}
SCSS
$custom: #498f12;
$custom-light: #83b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#498f12",
  "rgb": {
    "r": 73,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 93.6,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58139,
    "c": 0.16492,
    "h": 135.7
  },
  "luminance": 0.21105
}

Semantic roles & 50–950 ramp

primary
#498F12
secondary
#873AC3
accent
#34F49F
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #498F12

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

Preview Lab → · Contrast checker → · Palette generator →

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