#998923#998923

#998923 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.6% C 0.118 H 99.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#998923
RGBrgb(153, 137, 35)
HSLhsl(52, 63%, 37%)
HSVhsv(52, 77%, 60%)
CMYKcmyk(0%, 10.5%, 77.1%, 40%)
CIE-LABlab(56.87, -5.29, 53.09)
CIE-LCHlch(56.87, 53.36, 95.69°)
OKLaboklab(62.64% -0.0204 0.1163)
OKLCHoklch(62.64% 0.118 99.9)
XYZxyz(22.3870, 24.7861, 5.1948)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998923 #233399
analogous
#994E23 #998923 #6E9923
triadic
#998923 #239989 #892399
tetradic
#998923 #23994E #233399 #99236E
square
#998923 #23994E #233399 #99236E
split-complementary
#998923 #236E99 #4E2399
monochromatic
#35300C #675C18 #998923 #CBB62E #DAC95D

Accessibility & contrast

On white

3.53
#998923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#998923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998923
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998923#FFFFFF#000000##000000
##9989231.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850E
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#A57E76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #998923;
/* rgb */ color: rgb(153, 137, 35);
/* oklch */ color: oklch(62.6% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#bbab66',
    500: '#998923',
    950: '#000000',
  },
}
SCSS
$custom: #998923;
$custom-light: #bbab66;
$custom-dark: #000000;
JSON
{
  "hex": "#998923",
  "rgb": {
    "r": 153,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 51.864,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62637,
    "c": 0.11809,
    "h": 99.9
  },
  "luminance": 0.24785
}

Semantic roles & 50–950 ramp

primary
#998923
secondary
#5967BE
accent
#58E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998923

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

Preview Lab → · Contrast checker → · Palette generator →

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