#978425#978425

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

Color values

HEX#978425
RGBrgb(151, 132, 37)
HSLhsl(50, 61%, 37%)
HSVhsv(50, 75%, 59%)
CMYKcmyk(0%, 12.6%, 75.5%, 40.8%)
CIE-LABlab(55.29, -3.37, 50.80)
CIE-LCHlch(55.29, 50.91, 93.79°)
OKLaboklab(61.35% -0.0146 0.1119)
OKLCHoklch(61.35% 0.113 97.4)
XYZxyz(21.3488, 23.2165, 5.1066)
Luminance0.2321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978425 #253897
analogous
#974B25 #978425 #719725
triadic
#978425 #259784 #842597
tetradic
#978425 #25974B #253897 #972571
square
#978425 #25974B #253897 #972571
split-complementary
#978425 #257197 #4B2597
monochromatic
#352E0D #665919 #978425 #C8AF31 #D8C45F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978425#FFFFFF#000000##000000
##9784251.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)
#928114
Deuteranopia (green-blind)
#97872B
Tritanopia (blue-blind)
#A37A71
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978425;
/* rgb */ color: rgb(151, 132, 37);
/* oklch */ color: oklch(61.3% 0.113 97.4);
Tailwind
colors: {
  custom: {
    50: '#b9a767',
    500: '#978425',
    950: '#000000',
  },
}
SCSS
$custom: #978425;
$custom-light: #b9a767;
$custom-dark: #000000;
JSON
{
  "hex": "#978425",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 37
  },
  "hsl": {
    "h": 50,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61349,
    "c": 0.11288,
    "h": 97.4
  },
  "luminance": 0.23215
}

Semantic roles & 50–950 ramp

primary
#978425
secondary
#5B6BBD
accent
#5FE444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978425

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

Preview Lab → · Contrast checker → · Palette generator →

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