#978629#978629

#978629 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.8% C 0.112 H 98.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#978629
RGBrgb(151, 134, 41)
HSLhsl(51, 57%, 38%)
HSVhsv(51, 73%, 59%)
CMYKcmyk(0%, 11.3%, 72.8%, 40.8%)
CIE-LABlab(55.88, -4.28, 49.79)
CIE-LCHlch(55.88, 49.97, 94.91°)
OKLaboklab(61.82% -0.0167 0.1106)
OKLCHoklch(61.82% 0.112 98.6)
XYZxyz(21.6889, 23.7907, 5.5470)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978629 #293A97
analogous
#974F29 #978629 #719729
triadic
#978629 #299786 #862997
tetradic
#978629 #29974F #293A97 #972971
square
#978629 #29974F #293A97 #972971
split-complementary
#978629 #297197 #4F2997
monochromatic
#37310F #675B1C #978629 #C7B136 #D5C465

Accessibility & contrast

On white

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

On black

5.76
#978629 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978629
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978629#FFFFFF#000000##000000
##9786291.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#98882F
Tritanopia (blue-blind)
#A37C73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #978629;
/* rgb */ color: rgb(151, 134, 41);
/* oklch */ color: oklch(61.8% 0.112 98.6);
Tailwind
colors: {
  custom: {
    50: '#b9a869',
    500: '#978629',
    950: '#000000',
  },
}
SCSS
$custom: #978629;
$custom-light: #b9a869;
$custom-dark: #000000;
JSON
{
  "hex": "#978629",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 41
  },
  "hsl": {
    "h": 50.727,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6182,
    "c": 0.11183,
    "h": 98.6
  },
  "luminance": 0.2379
}

Semantic roles & 50–950 ramp

primary
#978629
secondary
#616FBB
accent
#5FE147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978629

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

Preview Lab → · Contrast checker → · Palette generator →

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