#998120#998120

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

Color values

HEX#998120
RGBrgb(153, 129, 32)
HSLhsl(48, 65%, 36%)
HSVhsv(48, 79%, 60%)
CMYKcmyk(0%, 15.7%, 79.1%, 40%)
CIE-LABlab(54.64, -1.00, 52.10)
CIE-LCHlch(54.64, 52.11, 91.10°)
OKLaboklab(60.87% -0.0085 0.1136)
OKLCHoklch(60.87% 0.114 94.3)
XYZxyz(21.2490, 22.5783, 4.6051)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998120 #203899
analogous
#994520 #998120 #759920
triadic
#998120 #209981 #812099
tetradic
#998120 #209945 #203899 #992075
square
#998120 #209945 #203899 #992075
split-complementary
#998120 #207599 #452099
monochromatic
#342C0B #665615 #998120 #CCAC2B #DCC257

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998120#FFFFFF#000000##000000
##9981201.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)
#8F7F0B
Deuteranopia (green-blind)
#958626
Tritanopia (blue-blind)
#A6766F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #998120;
/* rgb */ color: rgb(153, 129, 32);
/* oklch */ color: oklch(60.9% 0.114 94.3);
Tailwind
colors: {
  custom: {
    50: '#bba564',
    500: '#998120',
    950: '#000000',
  },
}
SCSS
$custom: #998120;
$custom-light: #bba564;
$custom-dark: #000000;
JSON
{
  "hex": "#998120",
  "rgb": {
    "r": 153,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 48.099,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60865,
    "c": 0.1139,
    "h": 94.3
  },
  "luminance": 0.22577
}

Semantic roles & 50–950 ramp

primary
#998120
secondary
#556AC0
accent
#61E83F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998120

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

Preview Lab → · Contrast checker → · Palette generator →

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