#978533#978533

#978533 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.7% C 0.104 H 96.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#978533
RGBrgb(151, 133, 51)
HSLhsl(49, 50%, 40%)
HSVhsv(49, 66%, 59%)
CMYKcmyk(0%, 11.9%, 66.2%, 40.8%)
CIE-LABlab(55.68, -3.14, 45.26)
CIE-LCHlch(55.68, 45.37, 93.97°)
OKLaboklab(61.69% -0.0123 0.1028)
OKLCHoklch(61.69% 0.104 96.8)
XYZxyz(21.7485, 23.5944, 6.5399)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978533 #334597
analogous
#975333 #978533 #779733
triadic
#978533 #339785 #853397
tetradic
#978533 #339753 #334597 #973377
square
#978533 #339753 #334597 #973377
split-complementary
#978533 #337797 #533397
monochromatic
#3C3414 #695D24 #978533 #C1AB47 #D0C074

Accessibility & contrast

On white

3.67
#978533 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#978533 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978533
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978533#FFFFFF#000000##000000
##9785331.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928229
Deuteranopia (green-blind)
#978837
Tritanopia (blue-blind)
#A37B74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #978533;
/* rgb */ color: rgb(151, 133, 51);
/* oklch */ color: oklch(61.7% 0.104 96.8);
Tailwind
colors: {
  custom: {
    50: '#b8a86f',
    500: '#978533',
    950: '#000000',
  },
}
SCSS
$custom: #978533;
$custom-light: #b8a86f;
$custom-dark: #000000;
JSON
{
  "hex": "#978533",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 51
  },
  "hsl": {
    "h": 49.2,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61688,
    "c": 0.10351,
    "h": 96.8
  },
  "luminance": 0.23593
}

Semantic roles & 50–950 ramp

primary
#978533
secondary
#6D7BB8
accent
#68D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978533

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

Preview Lab → · Contrast checker → · Palette generator →

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