#998124#998124

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

Color values

HEX#998124
RGBrgb(153, 129, 36)
HSLhsl(48, 62%, 37%)
HSVhsv(48, 76%, 60%)
CMYKcmyk(0%, 15.7%, 76.5%, 40%)
CIE-LABlab(54.66, -0.83, 50.64)
CIE-LCHlch(54.66, 50.65, 90.94°)
OKLaboklab(60.89% -0.0076 0.1113)
OKLCHoklch(60.89% 0.112 93.9)
XYZxyz(21.3067, 22.6014, 4.9090)
Luminance0.2260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998124 #243C99
analogous
#994624 #998124 #779924
triadic
#998124 #249981 #812499
tetradic
#998124 #249946 #243C99 #992477
square
#998124 #249946 #243C99 #992477
split-complementary
#998124 #247799 #462499
monochromatic
#362D0D #675718 #998124 #CBAB30 #D9C05E

Accessibility & contrast

On white

3.80
#998124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##998124#FFFFFF#000000##000000
##9981241.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F14
Deuteranopia (green-blind)
#95862A
Tritanopia (blue-blind)
#A6766F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #998124;
/* rgb */ color: rgb(153, 129, 36);
/* oklch */ color: oklch(60.9% 0.112 93.9);
Tailwind
colors: {
  custom: {
    50: '#bba566',
    500: '#998124',
    950: '#000000',
  },
}
SCSS
$custom: #998124;
$custom-light: #bba566;
$custom-dark: #000000;
JSON
{
  "hex": "#998124",
  "rgb": {
    "r": 153,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 47.692,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60891,
    "c": 0.11157,
    "h": 93.9
  },
  "luminance": 0.226
}

Semantic roles & 50–950 ramp

primary
#998124
secondary
#5B6FBE
accent
#64E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998124

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

Preview Lab → · Contrast checker → · Palette generator →

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