#978525#978525

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

Color values

HEX#978525
RGBrgb(151, 133, 37)
HSLhsl(51, 61%, 37%)
HSVhsv(51, 75%, 59%)
CMYKcmyk(0%, 11.9%, 75.5%, 40.8%)
CIE-LABlab(55.57, -3.92, 51.06)
CIE-LCHlch(55.57, 51.21, 94.39°)
OKLaboklab(61.57% -0.0162 0.1125)
OKLCHoklch(61.57% 0.114 98.2)
XYZxyz(21.4850, 23.4890, 5.1521)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978525 #253797
analogous
#974C25 #978525 #709725
triadic
#978525 #259785 #852597
tetradic
#978525 #25974C #253797 #972570
square
#978525 #25974C #253797 #972570
split-complementary
#978525 #257097 #4C2597
monochromatic
#352E0D #665A19 #978525 #C8B031 #D8C55F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978525#FFFFFF#000000##000000
##9785251.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)
#938214
Deuteranopia (green-blind)
#97882B
Tritanopia (blue-blind)
#A37B72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #978525;
/* rgb */ color: rgb(151, 133, 37);
/* oklch */ color: oklch(61.6% 0.114 98.2);
Tailwind
colors: {
  custom: {
    50: '#b9a867',
    500: '#978525',
    950: '#000000',
  },
}
SCSS
$custom: #978525;
$custom-light: #b9a867;
$custom-dark: #000000;
JSON
{
  "hex": "#978525",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 37
  },
  "hsl": {
    "h": 50.526,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61569,
    "c": 0.11364,
    "h": 98.2
  },
  "luminance": 0.23488
}

Semantic roles & 50–950 ramp

primary
#978525
secondary
#5B6ABD
accent
#5DE444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978525

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

Preview Lab → · Contrast checker → · Palette generator →

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