#998122#998122

#998122 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.113 H 94.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#998122
RGBrgb(153, 129, 34)
HSLhsl(48, 64%, 37%)
HSVhsv(48, 78%, 60%)
CMYKcmyk(0%, 15.7%, 77.8%, 40%)
CIE-LABlab(54.65, -0.92, 51.39)
CIE-LCHlch(54.65, 51.39, 91.02°)
OKLaboklab(60.88% -0.0081 0.1125)
OKLCHoklch(60.88% 0.113 94.1)
XYZxyz(21.2770, 22.5895, 4.7526)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998122 #223A99
analogous
#994622 #998122 #769922
triadic
#998122 #229981 #812299
tetradic
#998122 #229946 #223A99 #992276
square
#998122 #229946 #223A99 #992276
split-complementary
#998122 #227699 #462299
monochromatic
#352D0C #675717 #998122 #CBAB2D #DBC15B

Accessibility & contrast

On white

3.81
#998122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#998122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998122
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998122#FFFFFF#000000##000000
##9981221.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F10
Deuteranopia (green-blind)
#958628
Tritanopia (blue-blind)
#A6766F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #998122;
/* rgb */ color: rgb(153, 129, 34);
/* oklch */ color: oklch(60.9% 0.113 94.1);
Tailwind
colors: {
  custom: {
    50: '#bba565',
    500: '#998122',
    950: '#000000',
  },
}
SCSS
$custom: #998122;
$custom-light: #bba565;
$custom-dark: #000000;
JSON
{
  "hex": "#998122",
  "rgb": {
    "r": 153,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 47.899,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60878,
    "c": 0.11276,
    "h": 94.1
  },
  "luminance": 0.22588
}

Semantic roles & 50–950 ramp

primary
#998122
secondary
#586DBF
accent
#63E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998122

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

Preview Lab → · Contrast checker → · Palette generator →

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