#978825#978825

#978825 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.2% C 0.116 H 100.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#978825
RGBrgb(151, 136, 37)
HSLhsl(52, 61%, 37%)
HSVhsv(52, 75%, 59%)
CMYKcmyk(0%, 9.9%, 75.5%, 40.8%)
CIE-LABlab(56.41, -5.57, 51.86)
CIE-LCHlch(56.41, 52.16, 96.13°)
OKLaboklab(62.23% -0.0208 0.1142)
OKLCHoklch(62.23% 0.116 100.3)
XYZxyz(21.9016, 24.3222, 5.2909)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978825 #253497
analogous
#974F25 #978825 #6D9725
triadic
#978825 #259788 #882597
tetradic
#978825 #25974F #253497 #97256D
square
#978825 #25974F #253497 #97256D
split-complementary
#978825 #256D97 #4F2597
monochromatic
#352F0D #665C19 #978825 #C8B431 #D8C85F

Accessibility & contrast

On white

3.58
#978825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#978825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978825
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978825#FFFFFF#000000##000000
##9788251.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958413
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#A37E75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978825;
/* rgb */ color: rgb(151, 136, 37);
/* oklch */ color: oklch(62.2% 0.116 100.3);
Tailwind
colors: {
  custom: {
    50: '#b9aa67',
    500: '#978825',
    950: '#000000',
  },
}
SCSS
$custom: #978825;
$custom-light: #b9aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#978825",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 37
  },
  "hsl": {
    "h": 52.105,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62233,
    "c": 0.11607,
    "h": 100.3
  },
  "luminance": 0.24321
}

Semantic roles & 50–950 ramp

primary
#978825
secondary
#5B68BD
accent
#59E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #978825

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

Preview Lab → · Contrast checker → · Palette generator →

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