#978823#978823

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

Color values

HEX#978823
RGBrgb(151, 136, 35)
HSLhsl(52, 62%, 36%)
HSVhsv(52, 77%, 59%)
CMYKcmyk(0%, 9.9%, 76.8%, 40.8%)
CIE-LABlab(56.40, -5.66, 52.59)
CIE-LCHlch(56.40, 52.89, 96.14°)
OKLaboklab(62.22% -0.0213 0.1153)
OKLCHoklch(62.22% 0.117 100.5)
XYZxyz(21.8711, 24.3100, 5.1301)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978823 #233297
analogous
#974E23 #978823 #6C9723
triadic
#978823 #239788 #882397
tetradic
#978823 #23974E #233297 #97236C
square
#978823 #23974E #233297 #97236C
split-complementary
#978823 #236C97 #4E2397
monochromatic
#342F0C #655B17 #978823 #C9B52F #D9C95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978823#FFFFFF#000000##000000
##9788231.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)
#96840F
Deuteranopia (green-blind)
#9A8A2A
Tritanopia (blue-blind)
#A37E75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978823;
/* rgb */ color: rgb(151, 136, 35);
/* oklch */ color: oklch(62.2% 0.117 100.5);
Tailwind
colors: {
  custom: {
    50: '#b9aa66',
    500: '#978823',
    950: '#000000',
  },
}
SCSS
$custom: #978823;
$custom-light: #b9aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#978823",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 35
  },
  "hsl": {
    "h": 52.241,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62219,
    "c": 0.11728,
    "h": 100.5
  },
  "luminance": 0.24309
}

Semantic roles & 50–950 ramp

primary
#978823
secondary
#5865BE
accent
#57E542
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #978823

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

Preview Lab → · Contrast checker → · Palette generator →

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