#998D25#998D25

#998D25 is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.5% C 0.120 H 102.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#998D25
RGBrgb(153, 141, 37)
HSLhsl(54, 61%, 37%)
HSVhsv(54, 76%, 60%)
CMYKcmyk(0%, 7.8%, 75.8%, 40%)
CIE-LABlab(58.00, -7.38, 53.43)
CIE-LCHlch(58.00, 53.94, 97.87°)
OKLaboklab(63.54% -0.0261 0.1174)
OKLCHoklch(63.54% 0.12 102.5)
XYZxyz(22.9967, 25.9566, 5.5487)
Luminance0.2596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D25 #253199
analogous
#995325 #998D25 #6B9925
triadic
#998D25 #25998D #8D2599
tetradic
#998D25 #259953 #253199 #99256B
square
#998D25 #259953 #253199 #99256B
split-complementary
#998D25 #256B99 #532599
monochromatic
#36320D #686019 #998D25 #CABA31 #D9CC60

Accessibility & contrast

On white

3.39
#998D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#998D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D25
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D25#FFFFFF#000000##000000
##998D251.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8811
Deuteranopia (green-blind)
#9E8E2C
Tritanopia (blue-blind)
#A58379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998d25;
/* rgb */ color: rgb(153, 141, 37);
/* oklch */ color: oklch(63.5% 0.120 102.5);
Tailwind
colors: {
  custom: {
    50: '#bbae68',
    500: '#998d25',
    950: '#000000',
  },
}
SCSS
$custom: #998d25;
$custom-light: #bbae68;
$custom-dark: #000000;
JSON
{
  "hex": "#998d25",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 53.793,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63538,
    "c": 0.1203,
    "h": 102.5
  },
  "luminance": 0.25956
}

Semantic roles & 50–950 ramp

primary
#998D25
secondary
#5C66BE
accent
#54E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998D25

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

Preview Lab → · Contrast checker → · Palette generator →

#998D25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva