#978622#978622

#978622 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.8% C 0.116 H 99.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#978622
RGBrgb(151, 134, 34)
HSLhsl(51, 63%, 36%)
HSVhsv(51, 77%, 59%)
CMYKcmyk(0%, 11.3%, 77.5%, 40.8%)
CIE-LABlab(55.83, -4.61, 52.42)
CIE-LCHlch(55.83, 52.62, 95.02°)
OKLaboklab(61.77% -0.0184 0.1148)
OKLCHoklch(61.77% 0.116 99.1)
XYZxyz(21.5774, 23.7461, 4.9600)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978622 #223397
analogous
#974C22 #978622 #6E9722
triadic
#978622 #229786 #862297
tetradic
#978622 #22974C #223397 #97226E
square
#978622 #22974C #223397 #97226E
split-complementary
#978622 #226E97 #4C2297
monochromatic
#332D0C #655A17 #978622 #C9B22D #DAC75A

Accessibility & contrast

On white

3.65
#978622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#978622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978622
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978622#FFFFFF#000000##000000
##9786221.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94820D
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#A37C73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #978622;
/* rgb */ color: rgb(151, 134, 34);
/* oklch */ color: oklch(61.8% 0.116 99.1);
Tailwind
colors: {
  custom: {
    50: '#b9a865',
    500: '#978622',
    950: '#000000',
  },
}
SCSS
$custom: #978622;
$custom-light: #b9a865;
$custom-dark: #000000;
JSON
{
  "hex": "#978622",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 51.282,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6177,
    "c": 0.11624,
    "h": 99.1
  },
  "luminance": 0.23745
}

Semantic roles & 50–950 ramp

primary
#978622
secondary
#5766BE
accent
#59E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978622

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

Preview Lab → · Contrast checker → · Palette generator →

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