#498123#498123

#498123 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.138 H 135.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#498123
RGBrgb(73, 129, 35)
HSLhsl(96, 57%, 32%)
HSVhsv(96, 73%, 51%)
CMYKcmyk(43.4%, 0%, 72.9%, 49.4%)
CIE-LABlab(48.56, -35.34, 42.97)
CIE-LCHlch(48.56, 55.64, 129.43°)
OKLaboklab(54.47% -0.0985 0.0973)
OKLCHoklch(54.47% 0.138 135.4)
XYZxyz(10.9010, 17.2377, 4.3426)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498123 #5B2381
analogous
#788123 #498123 #23812C
triadic
#498123 #234981 #812349
tetradic
#498123 #237881 #5B2381 #812C23
square
#498123 #237881 #5B2381 #812C23
split-complementary
#498123 #2C2381 #812378
monochromatic
#132109 #2E5116 #498123 #64B130 #83CF4F

Accessibility & contrast

On white

4.72
#498123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#498123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #498123
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498123#FFFFFF#000000##FFFFFF
##4981231.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867614
Deuteranopia (green-blind)
#7E722C
Tritanopia (blue-blind)
#477C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #498123;
/* rgb */ color: rgb(73, 129, 35);
/* oklch */ color: oklch(54.5% 0.138 135.4);
Tailwind
colors: {
  custom: {
    50: '#81a664',
    500: '#498123',
    950: '#000000',
  },
}
SCSS
$custom: #498123;
$custom-light: #81a664;
$custom-dark: #000000;
JSON
{
  "hex": "#498123",
  "rgb": {
    "r": 73,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 95.745,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54469,
    "c": 0.13845,
    "h": 135.4
  },
  "luminance": 0.17238
}

Semantic roles & 50–950 ramp

primary
#498123
secondary
#8A4DB3
accent
#47E1A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #498123

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

Preview Lab → · Contrast checker → · Palette generator →

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