#978224#978224

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

Color values

HEX#978224
RGBrgb(151, 130, 36)
HSLhsl(49, 61%, 37%)
HSVhsv(49, 76%, 59%)
CMYKcmyk(0%, 13.9%, 76.2%, 40.8%)
CIE-LABlab(54.73, -2.31, 50.64)
CIE-LCHlch(54.73, 50.70, 92.61°)
OKLaboklab(60.9% -0.0117 0.1114)
OKLCHoklch(60.9% 0.112 96)
XYZxyz(21.0647, 22.6731, 4.9355)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978224 #243997
analogous
#974824 #978224 #739724
triadic
#978224 #249782 #822497
tetradic
#978224 #249748 #243997 #972473
square
#978224 #249748 #243997 #972473
split-complementary
#978224 #247397 #482497
monochromatic
#342D0C #665718 #978224 #C8AD30 #D8C25D

Accessibility & contrast

On white

3.79
#978224 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#978224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978224
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978224#FFFFFF#000000##000000
##9782241.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#95862A
Tritanopia (blue-blind)
#A37770
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #978224;
/* rgb */ color: rgb(151, 130, 36);
/* oklch */ color: oklch(60.9% 0.112 96.0);
Tailwind
colors: {
  custom: {
    50: '#b9a666',
    500: '#978224',
    950: '#000000',
  },
}
SCSS
$custom: #978224;
$custom-light: #b9a666;
$custom-dark: #000000;
JSON
{
  "hex": "#978224",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 36
  },
  "hsl": {
    "h": 49.043,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60903,
    "c": 0.11201,
    "h": 96
  },
  "luminance": 0.22672
}

Semantic roles & 50–950 ramp

primary
#978224
secondary
#5A6CBD
accent
#61E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978224

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

Preview Lab → · Contrast checker → · Palette generator →

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