#998121#998121

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

Color values

HEX#998121
RGBrgb(153, 129, 33)
HSLhsl(48, 65%, 36%)
HSVhsv(48, 78%, 60%)
CMYKcmyk(0%, 15.7%, 78.4%, 40%)
CIE-LABlab(54.64, -0.96, 51.75)
CIE-LCHlch(54.64, 51.76, 91.06°)
OKLaboklab(60.87% -0.0083 0.113)
OKLCHoklch(60.87% 0.113 94.2)
XYZxyz(21.2628, 22.5839, 4.6777)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998121 #213999
analogous
#994521 #998121 #759921
triadic
#998121 #219981 #812199
tetradic
#998121 #219945 #213999 #992175
square
#998121 #219945 #213999 #992175
split-complementary
#998121 #217599 #452199
monochromatic
#342C0B #675716 #998121 #CBAB2C #DBC159

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998121#FFFFFF#000000##000000
##9981211.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)
#8F7F0D
Deuteranopia (green-blind)
#958627
Tritanopia (blue-blind)
#A6766F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #998121;
/* rgb */ color: rgb(153, 129, 33);
/* oklch */ color: oklch(60.9% 0.113 94.2);
Tailwind
colors: {
  custom: {
    50: '#bba564',
    500: '#998121',
    950: '#000000',
  },
}
SCSS
$custom: #998121;
$custom-light: #bba564;
$custom-dark: #000000;
JSON
{
  "hex": "#998121",
  "rgb": {
    "r": 153,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 48,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60871,
    "c": 0.11333,
    "h": 94.2
  },
  "luminance": 0.22583
}

Semantic roles & 50–950 ramp

primary
#998121
secondary
#566BBF
accent
#62E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998121

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

Preview Lab → · Contrast checker → · Palette generator →

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