#998422#998422

#998422 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.5% C 0.115 H 96.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#998422
RGBrgb(153, 132, 34)
HSLhsl(49, 64%, 37%)
HSVhsv(49, 78%, 60%)
CMYKcmyk(0%, 13.7%, 77.8%, 40%)
CIE-LABlab(55.47, -2.58, 52.16)
CIE-LCHlch(55.47, 52.22, 92.84°)
OKLaboklab(61.53% -0.0128 0.1141)
OKLCHoklch(61.53% 0.115 96.4)
XYZxyz(21.6780, 23.3915, 4.8862)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998422 #223799
analogous
#994922 #998422 #739922
triadic
#998422 #229984 #842299
tetradic
#998422 #229949 #223799 #992273
square
#998422 #229949 #223799 #992273
split-complementary
#998422 #227399 #492299
monochromatic
#352E0C #675917 #998422 #CBAF2D #DBC45B

Accessibility & contrast

On white

3.70
#998422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#998422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998422
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998422#FFFFFF#000000##000000
##9984221.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#A67971
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #998422;
/* rgb */ color: rgb(153, 132, 34);
/* oklch */ color: oklch(61.5% 0.115 96.4);
Tailwind
colors: {
  custom: {
    50: '#bba765',
    500: '#998422',
    950: '#000000',
  },
}
SCSS
$custom: #998422;
$custom-light: #bba765;
$custom-dark: #000000;
JSON
{
  "hex": "#998422",
  "rgb": {
    "r": 153,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 49.412,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61531,
    "c": 0.11483,
    "h": 96.4
  },
  "luminance": 0.2339
}

Semantic roles & 50–950 ramp

primary
#998422
secondary
#586ABF
accent
#5EE741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998422

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

Preview Lab → · Contrast checker → · Palette generator →

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