#979062#979062

#979062 is a light, moderate yellow. Relative luminance 0.274; OKLCH L 64.8% C 0.064 H 100.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#979062
RGBrgb(151, 144, 98)
HSLhsl(52, 21%, 49%)
HSVhsv(52, 35%, 59%)
CMYKcmyk(0%, 4.6%, 35.1%, 40.8%)
CIE-LABlab(59.35, -4.68, 25.42)
CIE-LCHlch(59.35, 25.85, 100.43°)
OKLaboklab(64.79% -0.0118 0.063)
OKLCHoklch(64.79% 0.064 100.6)
XYZxyz(24.9407, 27.4083, 15.5294)
Luminance0.2741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979062 #626997
analogous
#977662 #979062 #849762
triadic
#979062 #629790 #906297
tetradic
#979062 #629776 #626997 #976284
square
#979062 #629776 #626997 #976284
split-complementary
#979062 #628497 #766297
monochromatic
#4D4932 #726D4A #979062 #B0AB86 #C8C5AB

Accessibility & contrast

On white

3.24
#979062 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#979062 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979062
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979062#FFFFFF#000000##000000
##9790621.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988D5F
Deuteranopia (green-blind)
#9B9064
Tritanopia (blue-blind)
#9F8A84
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #979062;
/* rgb */ color: rgb(151, 144, 98);
/* oklch */ color: oklch(64.8% 0.064 100.6);
Tailwind
colors: {
  custom: {
    50: '#b6b08f',
    500: '#979062',
    950: '#000000',
  },
}
SCSS
$custom: #979062;
$custom-light: #b6b08f;
$custom-dark: #000000;
JSON
{
  "hex": "#979062",
  "rgb": {
    "r": 151,
    "g": 144,
    "b": 98
  },
  "hsl": {
    "h": 52.075,
    "s": 21.285,
    "l": 48.824
  },
  "oklch": {
    "l": 0.64794,
    "c": 0.06413,
    "h": 100.6
  },
  "luminance": 0.27408
}

Semantic roles & 50–950 ramp

primary
#979062
secondary
#9EA1B7
accent
#75BE6A
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #979062

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

Preview Lab → · Contrast checker → · Palette generator →

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