#978024#978024

#978024 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.5% C 0.111 H 94.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#978024
RGBrgb(151, 128, 36)
HSLhsl(48, 61%, 37%)
HSVhsv(48, 76%, 59%)
CMYKcmyk(0%, 15.2%, 76.2%, 40.8%)
CIE-LABlab(54.18, -1.19, 50.12)
CIE-LCHlch(54.18, 50.13, 91.36°)
OKLaboklab(60.47% -0.0085 0.1103)
OKLCHoklch(60.47% 0.111 94.4)
XYZxyz(20.8012, 22.1462, 4.8477)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978024 #243B97
analogous
#974724 #978024 #759724
triadic
#978024 #249780 #802497
tetradic
#978024 #249747 #243B97 #972475
square
#978024 #249747 #243B97 #972475
split-complementary
#978024 #247597 #472497
monochromatic
#342C0C #665618 #978024 #C8AA30 #D8C05D

Accessibility & contrast

On white

3.87
#978024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#978024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978024
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978024#FFFFFF#000000##000000
##9780241.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E14
Deuteranopia (green-blind)
#94852A
Tritanopia (blue-blind)
#A4756E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #978024;
/* rgb */ color: rgb(151, 128, 36);
/* oklch */ color: oklch(60.5% 0.111 94.4);
Tailwind
colors: {
  custom: {
    50: '#b9a466',
    500: '#978024',
    950: '#000000',
  },
}
SCSS
$custom: #978024;
$custom-light: #b9a466;
$custom-dark: #000000;
JSON
{
  "hex": "#978024",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 48,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60467,
    "c": 0.11061,
    "h": 94.4
  },
  "luminance": 0.22145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978024

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

Preview Lab → · Contrast checker → · Palette generator →

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