#998022#998022

#998022 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.7% C 0.112 H 93.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#998022
RGBrgb(153, 128, 34)
HSLhsl(47, 64%, 37%)
HSVhsv(47, 78%, 60%)
CMYKcmyk(0%, 16.3%, 77.8%, 40%)
CIE-LABlab(54.37, -0.36, 51.13)
CIE-LCHlch(54.37, 51.13, 90.40°)
OKLaboklab(60.66% -0.0065 0.1119)
OKLCHoklch(60.66% 0.112 93.3)
XYZxyz(21.1460, 22.3274, 4.7089)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998022 #223B99
analogous
#994522 #998022 #779922
triadic
#998022 #229980 #802299
tetradic
#998022 #229945 #223B99 #992277
square
#998022 #229945 #223B99 #992277
split-complementary
#998022 #227799 #452299
monochromatic
#352C0C #675617 #998022 #CBAA2D #DBC05B

Accessibility & contrast

On white

3.84
#998022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#998022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998022
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998022#FFFFFF#000000##000000
##9980221.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E10
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#A6756E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #998022;
/* rgb */ color: rgb(153, 128, 34);
/* oklch */ color: oklch(60.7% 0.112 93.3);
Tailwind
colors: {
  custom: {
    50: '#bba465',
    500: '#998022',
    950: '#000000',
  },
}
SCSS
$custom: #998022;
$custom-light: #bba465;
$custom-dark: #000000;
JSON
{
  "hex": "#998022",
  "rgb": {
    "r": 153,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 47.395,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60661,
    "c": 0.11212,
    "h": 93.3
  },
  "luminance": 0.22326
}

Semantic roles & 50–950 ramp

primary
#998022
secondary
#586EBF
accent
#64E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998022

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

Preview Lab → · Contrast checker → · Palette generator →

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