#978523#978523

#978523 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.6% C 0.115 H 98.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#978523
RGBrgb(151, 133, 35)
HSLhsl(51, 62%, 36%)
HSVhsv(51, 77%, 59%)
CMYKcmyk(0%, 11.9%, 76.8%, 40.8%)
CIE-LABlab(55.56, -4.01, 51.80)
CIE-LCHlch(55.56, 51.96, 94.43°)
OKLaboklab(61.56% -0.0166 0.1137)
OKLCHoklch(61.56% 0.115 98.3)
XYZxyz(21.4545, 23.4768, 4.9912)
Luminance0.2348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978523 #233597
analogous
#974B23 #978523 #6F9723
triadic
#978523 #239785 #852397
tetradic
#978523 #23974B #233597 #97236F
square
#978523 #23974B #233597 #97236F
split-complementary
#978523 #236F97 #4B2397
monochromatic
#342D0C #655917 #978523 #C9B12F #D9C65B

Accessibility & contrast

On white

3.69
#978523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#978523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978523
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978523#FFFFFF#000000##000000
##9785231.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938210
Deuteranopia (green-blind)
#97882A
Tritanopia (blue-blind)
#A37B72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #978523;
/* rgb */ color: rgb(151, 133, 35);
/* oklch */ color: oklch(61.6% 0.115 98.3);
Tailwind
colors: {
  custom: {
    50: '#b9a866',
    500: '#978523',
    950: '#000000',
  },
}
SCSS
$custom: #978523;
$custom-light: #b9a866;
$custom-dark: #000000;
JSON
{
  "hex": "#978523",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 50.69,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61556,
    "c": 0.11487,
    "h": 98.3
  },
  "luminance": 0.23476
}

Semantic roles & 50–950 ramp

primary
#978523
secondary
#5868BE
accent
#5CE542
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978523

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

Preview Lab → · Contrast checker → · Palette generator →

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