#978725#978725

#978725 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.0% C 0.115 H 99.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#978725
RGBrgb(151, 135, 37)
HSLhsl(52, 61%, 37%)
HSVhsv(52, 75%, 59%)
CMYKcmyk(0%, 10.6%, 75.5%, 40.8%)
CIE-LABlab(56.13, -5.02, 51.59)
CIE-LCHlch(56.13, 51.84, 95.56°)
OKLaboklab(62.01% -0.0193 0.1136)
OKLCHoklch(62.01% 0.115 99.6)
XYZxyz(21.7615, 24.0419, 5.2442)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978725 #253597
analogous
#974E25 #978725 #6E9725
triadic
#978725 #259787 #872597
tetradic
#978725 #25974E #253597 #97256E
square
#978725 #25974E #253597 #97256E
split-complementary
#978725 #256E97 #4E2597
monochromatic
#352F0D #665B19 #978725 #C8B331 #D8C75F

Accessibility & contrast

On white

3.62
#978725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#978725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978725
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978725#FFFFFF#000000##000000
##9787251.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958313
Deuteranopia (green-blind)
#99892C
Tritanopia (blue-blind)
#A37D74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978725;
/* rgb */ color: rgb(151, 135, 37);
/* oklch */ color: oklch(62.0% 0.115 99.6);
Tailwind
colors: {
  custom: {
    50: '#b9a967',
    500: '#978725',
    950: '#000000',
  },
}
SCSS
$custom: #978725;
$custom-light: #b9a967;
$custom-dark: #000000;
JSON
{
  "hex": "#978725",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 37
  },
  "hsl": {
    "h": 51.579,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62011,
    "c": 0.11524,
    "h": 99.6
  },
  "luminance": 0.24041
}

Semantic roles & 50–950 ramp

primary
#978725
secondary
#5B69BD
accent
#5AE444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978725

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

Preview Lab → · Contrast checker → · Palette generator →

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