#978423#978423

#978423 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.3% C 0.114 H 97.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#978423
RGBrgb(151, 132, 35)
HSLhsl(50, 62%, 36%)
HSVhsv(50, 77%, 59%)
CMYKcmyk(0%, 12.6%, 76.8%, 40.8%)
CIE-LABlab(55.28, -3.46, 51.54)
CIE-LCHlch(55.28, 51.66, 93.84°)
OKLaboklab(61.33% -0.0151 0.1131)
OKLCHoklch(61.33% 0.114 97.6)
XYZxyz(21.3182, 23.2043, 4.9458)
Luminance0.2320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978423 #233697
analogous
#974A23 #978423 #709723
triadic
#978423 #239784 #842397
tetradic
#978423 #23974A #233697 #972370
square
#978423 #23974A #233697 #972370
split-complementary
#978423 #237097 #4A2397
monochromatic
#342D0C #655917 #978423 #C9AF2F #D9C45B

Accessibility & contrast

On white

3.72
#978423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#978423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978423
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978423#FFFFFF#000000##000000
##9784231.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928110
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#A37A71
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978423;
/* rgb */ color: rgb(151, 132, 35);
/* oklch */ color: oklch(61.3% 0.114 97.6);
Tailwind
colors: {
  custom: {
    50: '#b9a766',
    500: '#978423',
    950: '#000000',
  },
}
SCSS
$custom: #978423;
$custom-light: #b9a766;
$custom-dark: #000000;
JSON
{
  "hex": "#978423",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 35
  },
  "hsl": {
    "h": 50.172,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61335,
    "c": 0.1141,
    "h": 97.6
  },
  "luminance": 0.23203
}

Semantic roles & 50–950 ramp

primary
#978423
secondary
#5869BE
accent
#5DE542
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978423

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

Preview Lab → · Contrast checker → · Palette generator →

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