#978325#978325

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

Color values

HEX#978325
RGBrgb(151, 131, 37)
HSLhsl(49, 61%, 37%)
HSVhsv(49, 75%, 59%)
CMYKcmyk(0%, 13.2%, 75.5%, 40.8%)
CIE-LABlab(55.02, -2.82, 50.53)
CIE-LCHlch(55.02, 50.61, 93.19°)
OKLaboklab(61.13% -0.013 0.1114)
OKLCHoklch(61.13% 0.112 96.7)
XYZxyz(21.2138, 22.9466, 5.0617)
Luminance0.2294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978325 #253997
analogous
#974A25 #978325 #729725
triadic
#978325 #259783 #832597
tetradic
#978325 #25974A #253997 #972572
square
#978325 #25974A #253997 #972572
split-complementary
#978325 #257297 #4A2597
monochromatic
#352E0D #665819 #978325 #C8AE31 #D8C25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978325#FFFFFF#000000##000000
##9783251.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)
#918015
Deuteranopia (green-blind)
#96862B
Tritanopia (blue-blind)
#A37971
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978325;
/* rgb */ color: rgb(151, 131, 37);
/* oklch */ color: oklch(61.1% 0.112 96.7);
Tailwind
colors: {
  custom: {
    50: '#b9a667',
    500: '#978325',
    950: '#000000',
  },
}
SCSS
$custom: #978325;
$custom-light: #b9a667;
$custom-dark: #000000;
JSON
{
  "hex": "#978325",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 37
  },
  "hsl": {
    "h": 49.474,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6113,
    "c": 0.11212,
    "h": 96.7
  },
  "luminance": 0.22945
}

Semantic roles & 50–950 ramp

primary
#978325
secondary
#5B6CBD
accent
#60E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978325

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

Preview Lab → · Contrast checker → · Palette generator →

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