#979A28#979A28

#979A28 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.3% C 0.131 H 111.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#979A28
RGBrgb(151, 154, 40)
HSLhsl(62, 59%, 38%)
HSVhsv(62, 74%, 60%)
CMYKcmyk(1.9%, 0%, 74%, 39.6%)
CIE-LABlab(61.52, -15.06, 55.62)
CIE-LCHlch(61.52, 57.63, 105.15°)
OKLaboklab(66.31% -0.0472 0.1227)
OKLCHoklch(66.31% 0.131 111)
XYZxyz(24.7019, 29.8444, 6.4664)
Luminance0.2984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979A28 #2B289A
analogous
#9A6428 #979A28 #5E9A28
triadic
#979A28 #28979A #9A2897
tetradic
#979A28 #289A64 #2B289A #9A285E
square
#979A28 #289A64 #2B289A #9A285E
split-complementary
#979A28 #285E9A #64289A
monochromatic
#38390F #67691B #979A28 #C7CA35 #D4D765

Accessibility & contrast

On white

3.01
#979A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#979A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979A28
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979A28#FFFFFF#000000##000000
##979A281.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69311
Deuteranopia (green-blind)
#A79631
Tritanopia (blue-blind)
#A29084
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979a28;
/* rgb */ color: rgb(151, 154, 40);
/* oklch */ color: oklch(66.3% 0.131 111.0);
Tailwind
colors: {
  custom: {
    50: '#b9b76b',
    500: '#979a28',
    950: '#000000',
  },
}
SCSS
$custom: #979a28;
$custom-light: #b9b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#979a28",
  "rgb": {
    "r": 151,
    "g": 154,
    "b": 40
  },
  "hsl": {
    "h": 61.579,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66311,
    "c": 0.13148,
    "h": 111
  },
  "luminance": 0.29844
}

Semantic roles & 50–950 ramp

primary
#979A28
secondary
#6361BD
accent
#46E24A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979A28

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

Preview Lab → · Contrast checker → · Palette generator →

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