#978124#978124

#978124 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.7% C 0.111 H 95.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#978124
RGBrgb(151, 129, 36)
HSLhsl(49, 61%, 37%)
HSVhsv(49, 76%, 59%)
CMYKcmyk(0%, 14.6%, 76.2%, 40.8%)
CIE-LABlab(54.46, -1.75, 50.38)
CIE-LCHlch(54.46, 50.41, 91.99°)
OKLaboklab(60.69% -0.0101 0.1108)
OKLCHoklch(60.69% 0.111 95.2)
XYZxyz(20.9323, 22.4084, 4.8914)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978124 #243A97
analogous
#974824 #978124 #749724
triadic
#978124 #249781 #812497
tetradic
#978124 #249748 #243A97 #972474
square
#978124 #249748 #243A97 #972474
split-complementary
#978124 #247497 #482497
monochromatic
#342D0C #665718 #978124 #C8AB30 #D8C15D

Accessibility & contrast

On white

3.83
#978124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#978124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978124
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978124#FFFFFF#000000##000000
##9781241.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #978124;
/* rgb */ color: rgb(151, 129, 36);
/* oklch */ color: oklch(60.7% 0.111 95.2);
Tailwind
colors: {
  custom: {
    50: '#b9a566',
    500: '#978124',
    950: '#000000',
  },
}
SCSS
$custom: #978124;
$custom-light: #b9a566;
$custom-dark: #000000;
JSON
{
  "hex": "#978124",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 48.522,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60685,
    "c": 0.1113,
    "h": 95.2
  },
  "luminance": 0.22407
}

Semantic roles & 50–950 ramp

primary
#978124
secondary
#5A6DBD
accent
#62E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978124

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

Preview Lab → · Contrast checker → · Palette generator →

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