#978824#978824

#978824 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.2% C 0.117 H 100.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#978824
RGBrgb(151, 136, 36)
HSLhsl(52, 61%, 37%)
HSVhsv(52, 76%, 59%)
CMYKcmyk(0%, 9.9%, 76.2%, 40.8%)
CIE-LABlab(56.40, -5.62, 52.23)
CIE-LCHlch(56.40, 52.53, 96.14°)
OKLaboklab(62.23% -0.0211 0.1148)
OKLCHoklch(62.23% 0.117 100.4)
XYZxyz(21.8861, 24.3160, 5.2094)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978824 #243397
analogous
#974F24 #978824 #6D9724
triadic
#978824 #249788 #882497
tetradic
#978824 #24974F #243397 #97246D
square
#978824 #24974F #243397 #97246D
split-complementary
#978824 #246D97 #4F2497
monochromatic
#342F0C #665B18 #978824 #C8B530 #D8C85D

Accessibility & contrast

On white

3.58
#978824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#978824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978824
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978824#FFFFFF#000000##000000
##9788241.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958411
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#A37E75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978824;
/* rgb */ color: rgb(151, 136, 36);
/* oklch */ color: oklch(62.2% 0.117 100.4);
Tailwind
colors: {
  custom: {
    50: '#b9aa67',
    500: '#978824',
    950: '#000000',
  },
}
SCSS
$custom: #978824;
$custom-light: #b9aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#978824",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 36
  },
  "hsl": {
    "h": 52.174,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62226,
    "c": 0.11668,
    "h": 100.4
  },
  "luminance": 0.24315
}

Semantic roles & 50–950 ramp

primary
#978824
secondary
#5A67BD
accent
#58E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #978824

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

Preview Lab → · Contrast checker → · Palette generator →

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