#988124#988124

#988124 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.8% C 0.111 H 94.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#988124
RGBrgb(152, 129, 36)
HSLhsl(48, 62%, 37%)
HSVhsv(48, 76%, 60%)
CMYKcmyk(0%, 15.1%, 76.3%, 40.4%)
CIE-LABlab(54.56, -1.29, 50.51)
CIE-LCHlch(54.56, 50.53, 91.46°)
OKLaboklab(60.79% -0.0088 0.1111)
OKLCHoklch(60.79% 0.111 94.6)
XYZxyz(21.1187, 22.5045, 4.9002)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988124 #243B98
analogous
#984724 #988124 #759824
triadic
#988124 #249881 #812498
tetradic
#988124 #249847 #243B98 #982475
square
#988124 #249847 #243B98 #982475
split-complementary
#988124 #247598 #472498
monochromatic
#352D0D #675718 #988124 #C9AB30 #D9C05E

Accessibility & contrast

On white

3.82
#988124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#988124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988124
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988124#FFFFFF#000000##000000
##9881241.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E14
Deuteranopia (green-blind)
#95852A
Tritanopia (blue-blind)
#A5766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #988124;
/* rgb */ color: rgb(152, 129, 36);
/* oklch */ color: oklch(60.8% 0.111 94.6);
Tailwind
colors: {
  custom: {
    50: '#baa566',
    500: '#988124',
    950: '#000000',
  },
}
SCSS
$custom: #988124;
$custom-light: #baa566;
$custom-dark: #000000;
JSON
{
  "hex": "#988124",
  "rgb": {
    "r": 152,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 48.103,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.11143,
    "h": 94.6
  },
  "luminance": 0.22503
}

Semantic roles & 50–950 ramp

primary
#988124
secondary
#5A6EBE
accent
#63E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #988124

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

Preview Lab → · Contrast checker → · Palette generator →

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