#979730#979730

#979730 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.7% C 0.123 H 109.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#979730
RGBrgb(151, 151, 48)
HSLhsl(60, 52%, 39%)
HSVhsv(60, 68%, 59%)
CMYKcmyk(0%, 0%, 68.2%, 40.8%)
CIE-LABlab(60.72, -13.06, 51.79)
CIE-LCHlch(60.72, 53.41, 104.15°)
OKLaboklab(65.69% -0.0408 0.1161)
OKLCHoklch(65.69% 0.123 109.4)
XYZxyz(24.3634, 28.9266, 7.0957)
Luminance0.2893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979730 #303097
analogous
#976430 #979730 #649730
triadic
#979730 #309797 #973097
tetradic
#979730 #309764 #303097 #973064
square
#979730 #309764 #303097 #973064
split-complementary
#979730 #306497 #643097
monochromatic
#3A3A12 #696921 #979730 #C3C341 #D2D270

Accessibility & contrast

On white

3.09
#979730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#979730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979730
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979730#FFFFFF#000000##000000
##9797301.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39121
Deuteranopia (green-blind)
#A49437
Tritanopia (blue-blind)
#A28D82
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #979730;
/* rgb */ color: rgb(151, 151, 48);
/* oklch */ color: oklch(65.7% 0.123 109.4);
Tailwind
colors: {
  custom: {
    50: '#b9b56f',
    500: '#979730',
    950: '#000000',
  },
}
SCSS
$custom: #979730;
$custom-light: #b9b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#979730",
  "rgb": {
    "r": 151,
    "g": 151,
    "b": 48
  },
  "hsl": {
    "h": 60,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65686,
    "c": 0.12301,
    "h": 109.4
  },
  "luminance": 0.28926
}

Semantic roles & 50–950 ramp

primary
#979730
secondary
#6A6AB9
accent
#4DDB4D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #979730

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

Preview Lab → · Contrast checker → · Palette generator →

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