#979D30#979D30

#979D30 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.1% C 0.130 H 112.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#979D30
RGBrgb(151, 157, 48)
HSLhsl(63, 53%, 40%)
HSVhsv(63, 69%, 62%)
CMYKcmyk(3.8%, 0%, 69.4%, 38.4%)
CIE-LABlab(62.43, -16.19, 53.51)
CIE-LCHlch(62.43, 55.91, 106.84°)
OKLaboklab(67.05% -0.0496 0.1197)
OKLCHoklch(67.05% 0.13 112.5)
XYZxyz(25.3537, 30.9072, 7.4258)
Luminance0.3091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979D30 #36309D
analogous
#9D6D30 #979D30 #609D30
triadic
#979D30 #30979D #9D3097
tetradic
#979D30 #309D6D #36309D #9D3060
square
#979D30 #309D6D #36309D #9D3060
split-complementary
#979D30 #30609D #6D309D
monochromatic
#3D3F13 #6A6E22 #979D30 #BFC644 #CFD473

Accessibility & contrast

On white

2.92
#979D30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#979D30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979D30
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979D30#FFFFFF#000000##000000
##979D301.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961F
Deuteranopia (green-blind)
#A99838
Tritanopia (blue-blind)
#A19387
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979d30;
/* rgb */ color: rgb(151, 157, 48);
/* oklch */ color: oklch(67.1% 0.130 112.5);
Tailwind
colors: {
  custom: {
    50: '#b9b96f',
    500: '#979d30',
    950: '#000000',
  },
}
SCSS
$custom: #979d30;
$custom-light: #b9b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#979d30",
  "rgb": {
    "r": 151,
    "g": 157,
    "b": 48
  },
  "hsl": {
    "h": 63.303,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67055,
    "c": 0.12954,
    "h": 112.5
  },
  "luminance": 0.30907
}

Semantic roles & 50–950 ramp

primary
#979D30
secondary
#716DBC
accent
#4BDD53
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #979D30

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

Preview Lab → · Contrast checker → · Palette generator →

#979D30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva