#498C23#498C23

#498C23 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.4% C 0.153 H 136.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#498C23
RGBrgb(73, 140, 35)
HSLhsl(98, 60%, 34%)
HSVhsv(98, 75%, 55%)
CMYKcmyk(47.9%, 0%, 75%, 45.1%)
CIE-LABlab(52.17, -40.04, 46.62)
CIE-LCHlch(52.17, 61.46, 130.65°)
OKLaboklab(57.43% -0.1112 0.1049)
OKLCHoklch(57.43% 0.153 136.7)
XYZxyz(12.4288, 20.2932, 4.8518)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498C23 #66238C
analogous
#7E8C23 #498C23 #238C32
triadic
#498C23 #23498C #8C2349
tetradic
#498C23 #237E8C #66238C #8C3223
square
#498C23 #237E8C #66238C #8C3223
split-complementary
#498C23 #32238C #8C237E
monochromatic
#162A0B #2F5B17 #498C23 #63BD2F #83D455

Accessibility & contrast

On white

4.15
#498C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#498C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #498C23
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498C23#FFFFFF#000000##000000
##498C231.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#468778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #498c23;
/* rgb */ color: rgb(73, 140, 35);
/* oklch */ color: oklch(57.4% 0.153 136.7);
Tailwind
colors: {
  custom: {
    50: '#82ae65',
    500: '#498c23',
    950: '#000000',
  },
}
SCSS
$custom: #498c23;
$custom-light: #82ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#498c23",
  "rgb": {
    "r": 73,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 98.286,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57429,
    "c": 0.1529,
    "h": 136.7
  },
  "luminance": 0.20294
}

Semantic roles & 50–950 ramp

primary
#498C23
secondary
#9452B8
accent
#45E3AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #498C23

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

Preview Lab → · Contrast checker → · Palette generator →

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