#979F28#979F28

#979F28 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.5% C 0.137 H 113.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#979F28
RGBrgb(151, 159, 40)
HSLhsl(64, 60%, 39%)
HSVhsv(64, 75%, 62%)
CMYKcmyk(5%, 0%, 74.8%, 37.6%)
CIE-LABlab(62.95, -17.64, 56.98)
CIE-LCHlch(62.95, 59.65, 107.20°)
OKLaboklab(67.46% -0.0544 0.1256)
OKLCHoklch(67.46% 0.137 113.4)
XYZxyz(25.5444, 31.5293, 6.7472)
Luminance0.3153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F28 #30289F
analogous
#9F6C28 #979F28 #5C9F28
triadic
#979F28 #28979F #9F2897
tetradic
#979F28 #289F6C #30289F #9F285C
square
#979F28 #289F6C #30289F #9F285C
split-complementary
#979F28 #285C9F #6C289F
monochromatic
#3A3D0F #696E1C #979F28 #C3CD37 #D2D968

Accessibility & contrast

On white

2.87
#979F28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#979F28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979F28
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979F28#FFFFFF#000000##000000
##979F281.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970E
Deuteranopia (green-blind)
#AB9A32
Tritanopia (blue-blind)
#A19588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979f28;
/* rgb */ color: rgb(151, 159, 40);
/* oklch */ color: oklch(67.5% 0.137 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb6b',
    500: '#979f28',
    950: '#000000',
  },
}
SCSS
$custom: #979f28;
$custom-light: #b9bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#979f28",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 64.034,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67457,
    "c": 0.13686,
    "h": 113.4
  },
  "luminance": 0.31529
}

Semantic roles & 50–950 ramp

primary
#979F28
secondary
#6A64BF
accent
#45E34F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979F28

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

Preview Lab → · Contrast checker → · Palette generator →

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