#998E24#998E24

#998E24 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.8% C 0.122 H 103.2°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#998E24
RGBrgb(153, 142, 36)
HSLhsl(54, 62%, 37%)
HSVhsv(54, 76%, 60%)
CMYKcmyk(0%, 7.2%, 76.5%, 40%)
CIE-LABlab(58.27, -7.97, 54.05)
CIE-LCHlch(58.27, 54.63, 98.39°)
OKLaboklab(63.75% -0.0278 0.1186)
OKLCHoklch(63.75% 0.122 103.2)
XYZxyz(23.1293, 26.2467, 5.5165)
Luminance0.2625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998E24 #242F99
analogous
#995424 #998E24 #6A9924
triadic
#998E24 #24998E #8E2499
tetradic
#998E24 #249954 #242F99 #99246A
square
#998E24 #249954 #242F99 #99246A
split-complementary
#998E24 #246A99 #542499
monochromatic
#36320D #676018 #998E24 #CBBC30 #D9CE5E

Accessibility & contrast

On white

3.36
#998E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#998E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998E24
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998E24#FFFFFF#000000##000000
##998E241.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890E
Deuteranopia (green-blind)
#9F8E2C
Tritanopia (blue-blind)
#A5847A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998e24;
/* rgb */ color: rgb(153, 142, 36);
/* oklch */ color: oklch(63.8% 0.122 103.2);
Tailwind
colors: {
  custom: {
    50: '#bbae67',
    500: '#998e24',
    950: '#000000',
  },
}
SCSS
$custom: #998e24;
$custom-light: #bbae67;
$custom-dark: #000000;
JSON
{
  "hex": "#998e24",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 54.359,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63754,
    "c": 0.12177,
    "h": 103.2
  },
  "luminance": 0.26246
}

Semantic roles & 50–950 ramp

primary
#998E24
secondary
#5B64BE
accent
#52E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998E24

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

Preview Lab → · Contrast checker → · Palette generator →

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