#978623#978623

#978623 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.8% C 0.116 H 99.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#978623
RGBrgb(151, 134, 35)
HSLhsl(51, 62%, 36%)
HSVhsv(51, 77%, 59%)
CMYKcmyk(0%, 11.3%, 76.8%, 40.8%)
CIE-LABlab(55.84, -4.56, 52.06)
CIE-LCHlch(55.84, 52.26, 95.01°)
OKLaboklab(61.78% -0.0182 0.1142)
OKLCHoklch(61.78% 0.116 99)
XYZxyz(21.5920, 23.7519, 5.0370)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978623 #233497
analogous
#974C23 #978623 #6E9723
triadic
#978623 #239786 #862397
tetradic
#978623 #23974C #233497 #97236E
square
#978623 #23974C #233497 #97236E
split-complementary
#978623 #236E97 #4C2397
monochromatic
#342E0C #655A17 #978623 #C9B22F #D9C75B

Accessibility & contrast

On white

3.65
#978623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#978623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978623
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978623#FFFFFF#000000##000000
##9786231.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948210
Deuteranopia (green-blind)
#98882A
Tritanopia (blue-blind)
#A37C73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #978623;
/* rgb */ color: rgb(151, 134, 35);
/* oklch */ color: oklch(61.8% 0.116 99.0);
Tailwind
colors: {
  custom: {
    50: '#b9a866',
    500: '#978623',
    950: '#000000',
  },
}
SCSS
$custom: #978623;
$custom-light: #b9a866;
$custom-dark: #000000;
JSON
{
  "hex": "#978623",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 51.207,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61776,
    "c": 0.11566,
    "h": 99
  },
  "luminance": 0.23751
}

Semantic roles & 50–950 ramp

primary
#978623
secondary
#5867BE
accent
#5AE542
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978623

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

Preview Lab → · Contrast checker → · Palette generator →

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