#498C12#498C12

#498C12 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.161 H 135.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#498C12
RGBrgb(73, 140, 18)
HSLhsl(93, 77%, 31%)
HSVhsv(93, 87%, 55%)
CMYKcmyk(47.9%, 0%, 87.1%, 45.1%)
CIE-LABlab(52.08, -40.99, 51.85)
CIE-LCHlch(52.08, 66.10, 128.33°)
OKLaboklab(57.33% -0.1148 0.1133)
OKLCHoklch(57.33% 0.161 135.4)
XYZxyz(12.2346, 20.2155, 3.8295)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498C12 #55128C
analogous
#868C12 #498C12 #128C18
triadic
#498C12 #12498C #8C1249
tetradic
#498C12 #12868C #55128C #8C1812
square
#498C12 #12868C #55128C #8C1812
split-complementary
#498C12 #18128C #8C1286
monochromatic
#102004 #2D560B #498C12 #65C219 #83E534

Accessibility & contrast

On white

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

On black

5.04
#498C12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #498C12
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498C12#FFFFFF#000000##000000
##498C121.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #498c12;
/* rgb */ color: rgb(73, 140, 18);
/* oklch */ color: oklch(57.3% 0.161 135.4);
Tailwind
colors: {
  custom: {
    50: '#83ae5e',
    500: '#498c12',
    950: '#000000',
  },
}
SCSS
$custom: #498c12;
$custom-light: #83ae5e;
$custom-dark: #000000;
JSON
{
  "hex": "#498c12",
  "rgb": {
    "r": 73,
    "g": 140,
    "b": 18
  },
  "hsl": {
    "h": 92.951,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5733,
    "c": 0.16132,
    "h": 135.4
  },
  "luminance": 0.20216
}

Semantic roles & 50–950 ramp

primary
#498C12
secondary
#8439C0
accent
#34F49D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #498C12

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

Preview Lab → · Contrast checker → · Palette generator →

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