#978323#978323

#978323 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.113 H 96.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#978323
RGBrgb(151, 131, 35)
HSLhsl(50, 62%, 36%)
HSVhsv(50, 77%, 59%)
CMYKcmyk(0%, 13.2%, 76.8%, 40.8%)
CIE-LABlab(55.00, -2.91, 51.28)
CIE-LCHlch(55.00, 51.36, 93.24°)
OKLaboklab(61.12% -0.0135 0.1126)
OKLCHoklch(61.12% 0.113 96.8)
XYZxyz(21.1833, 22.9344, 4.9008)
Luminance0.2293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978323 #233797
analogous
#974923 #978323 #719723
triadic
#978323 #239783 #832397
tetradic
#978323 #239749 #233797 #972371
square
#978323 #239749 #233797 #972371
split-complementary
#978323 #237197 #492397
monochromatic
#342D0C #655817 #978323 #C9AE2F #D9C35B

Accessibility & contrast

On white

3.76
#978323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#978323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978323
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978323#FFFFFF#000000##000000
##9783231.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918011
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#A37870
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978323;
/* rgb */ color: rgb(151, 131, 35);
/* oklch */ color: oklch(61.1% 0.113 96.8);
Tailwind
colors: {
  custom: {
    50: '#b9a666',
    500: '#978323',
    950: '#000000',
  },
}
SCSS
$custom: #978323;
$custom-light: #b9a666;
$custom-dark: #000000;
JSON
{
  "hex": "#978323",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 49.655,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61116,
    "c": 0.11336,
    "h": 96.8
  },
  "luminance": 0.22933
}

Semantic roles & 50–950 ramp

primary
#978323
secondary
#586ABE
accent
#5EE542
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978323

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

Preview Lab → · Contrast checker → · Palette generator →

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