#498E12#498E12

#498E12 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.164 H 135.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#498E12
RGBrgb(73, 142, 18)
HSLhsl(93, 78%, 31%)
HSVhsv(93, 87%, 56%)
CMYKcmyk(48.6%, 0%, 87.3%, 44.3%)
CIE-LABlab(52.74, -41.81, 52.43)
CIE-LCHlch(52.74, 67.05, 128.57°)
OKLaboklab(57.87% -0.117 0.1145)
OKLCHoklch(57.87% 0.164 135.6)
XYZxyz(12.5295, 20.8053, 3.9278)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498E12 #57128E
analogous
#878E12 #498E12 #128E19
triadic
#498E12 #12498E #8E1249
tetradic
#498E12 #12878E #57128E #8E1912
square
#498E12 #12878E #57128E #8E1912
split-complementary
#498E12 #19128E #8E1287
monochromatic
#112104 #2D580B #498E12 #65C419 #83E535

Accessibility & contrast

On white

4.07
#498E12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#498E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #498E12
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498E12#FFFFFF#000000##000000
##498E121.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C23
Tritanopia (blue-blind)
#468878
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #498e12;
/* rgb */ color: rgb(73, 142, 18);
/* oklch */ color: oklch(57.9% 0.164 135.6);
Tailwind
colors: {
  custom: {
    50: '#83b05e',
    500: '#498e12',
    950: '#000000',
  },
}
SCSS
$custom: #498e12;
$custom-light: #83b05e;
$custom-dark: #000000;
JSON
{
  "hex": "#498e12",
  "rgb": {
    "r": 73,
    "g": 142,
    "b": 18
  },
  "hsl": {
    "h": 93.387,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57869,
    "c": 0.16372,
    "h": 135.6
  },
  "luminance": 0.20806
}

Semantic roles & 50–950 ramp

primary
#498E12
secondary
#863AC2
accent
#34F49F
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #498E12

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

Preview Lab → · Contrast checker → · Palette generator →

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