#979930#979930

#979930 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.1% C 0.125 H 110.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#979930
RGBrgb(151, 153, 48)
HSLhsl(61, 52%, 39%)
HSVhsv(61, 69%, 60%)
CMYKcmyk(1.3%, 0%, 68.6%, 40%)
CIE-LABlab(61.29, -14.11, 52.36)
CIE-LCHlch(61.29, 54.23, 105.08°)
OKLaboklab(66.14% -0.0437 0.1173)
OKLCHoklch(66.14% 0.125 110.5)
XYZxyz(24.6880, 29.5758, 7.2039)
Luminance0.2958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979930 #323099
analogous
#996730 #979930 #639930
triadic
#979930 #309799 #993097
tetradic
#979930 #309967 #323099 #993063
square
#979930 #309967 #323099 #993063
split-complementary
#979930 #306399 #673099
monochromatic
#3B3C13 #696A21 #979930 #C1C442 #D1D271

Accessibility & contrast

On white

3.04
#979930 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#979930 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979930
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979930#FFFFFF#000000##000000
##9799301.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59220
Deuteranopia (green-blind)
#A69537
Tritanopia (blue-blind)
#A18F84
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979930;
/* rgb */ color: rgb(151, 153, 48);
/* oklch */ color: oklch(66.1% 0.125 110.5);
Tailwind
colors: {
  custom: {
    50: '#b9b66f',
    500: '#979930',
    950: '#000000',
  },
}
SCSS
$custom: #979930;
$custom-light: #b9b66f;
$custom-dark: #000000;
JSON
{
  "hex": "#979930",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 48
  },
  "hsl": {
    "h": 61.143,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66141,
    "c": 0.12516,
    "h": 110.5
  },
  "luminance": 0.29575
}

Semantic roles & 50–950 ramp

primary
#979930
secondary
#6C6BBA
accent
#4CDC4F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #979930

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

Preview Lab → · Contrast checker → · Palette generator →

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