#998D23#998D23

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

Color values

HEX#998D23
RGBrgb(153, 141, 35)
HSLhsl(54, 63%, 37%)
HSVhsv(54, 77%, 60%)
CMYKcmyk(0%, 7.8%, 77.1%, 40%)
CIE-LABlab(57.98, -7.47, 54.13)
CIE-LCHlch(57.98, 54.65, 97.86°)
OKLaboklab(63.53% -0.0265 0.1185)
OKLCHoklch(63.53% 0.121 102.6)
XYZxyz(22.9662, 25.9444, 5.3878)
Luminance0.2594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D23 #232F99
analogous
#995223 #998D23 #6A9923
triadic
#998D23 #23998D #8D2399
tetradic
#998D23 #239952 #232F99 #99236A
square
#998D23 #239952 #232F99 #99236A
split-complementary
#998D23 #236A99 #522399
monochromatic
#35310C #675F18 #998D23 #CBBB2E #DACD5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998D23#FFFFFF#000000##000000
##998D231.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)
#9A880C
Deuteranopia (green-blind)
#9E8E2B
Tritanopia (blue-blind)
#A58379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998d23;
/* rgb */ color: rgb(153, 141, 35);
/* oklch */ color: oklch(63.5% 0.121 102.6);
Tailwind
colors: {
  custom: {
    50: '#bbae67',
    500: '#998d23',
    950: '#000000',
  },
}
SCSS
$custom: #998d23;
$custom-light: #bbae67;
$custom-dark: #000000;
JSON
{
  "hex": "#998d23",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 53.898,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63525,
    "c": 0.12147,
    "h": 102.6
  },
  "luminance": 0.25943
}

Semantic roles & 50–950 ramp

primary
#998D23
secondary
#5964BE
accent
#53E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998D23

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

Preview Lab → · Contrast checker → · Palette generator →

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