#978751#978751

#978751 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.5% C 0.076 H 93.4°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#978751
RGBrgb(151, 135, 81)
HSLhsl(46, 30%, 45%)
HSVhsv(46, 46%, 59%)
CMYKcmyk(0%, 10.6%, 46.4%, 40.8%)
CIE-LABlab(56.59, -1.69, 31.15)
CIE-LCHlch(56.59, 31.19, 93.11°)
OKLaboklab(62.52% -0.0045 0.0754)
OKLCHoklch(62.52% 0.076 93.4)
XYZxyz(22.9123, 24.5022, 11.3055)
Luminance0.2450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978751 #516197
analogous
#976451 #978751 #849751
triadic
#978751 #519787 #875197
tetradic
#978751 #519764 #516197 #975184
square
#978751 #519764 #516197 #975184
split-complementary
#978751 #518497 #645197
monochromatic
#474026 #6F633C #978751 #B3A472 #C9BE9A

Accessibility & contrast

On white

3.56
#978751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#978751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978751
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978751#FFFFFF#000000##000000
##9787511.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92854D
Deuteranopia (green-blind)
#968A53
Tritanopia (blue-blind)
#A17F7A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #978751;
/* rgb */ color: rgb(151, 135, 81);
/* oklch */ color: oklch(62.5% 0.076 93.4);
Tailwind
colors: {
  custom: {
    50: '#b7a983',
    500: '#978751',
    950: '#000000',
  },
}
SCSS
$custom: #978751;
$custom-light: #b7a983;
$custom-dark: #000000;
JSON
{
  "hex": "#978751",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 81
  },
  "hsl": {
    "h": 46.286,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.62521,
    "c": 0.07552,
    "h": 93.4
  },
  "luminance": 0.24501
}

Semantic roles & 50–950 ramp

primary
#978751
secondary
#8E97B6
accent
#78C661
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#110F0A
muted
#807F7C

Preview Lab

Preview with #978751

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

Preview Lab → · Contrast checker → · Palette generator →

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