#979927#979927

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

Color values

HEX#979927
RGBrgb(151, 153, 39)
HSLhsl(61, 59%, 38%)
HSVhsv(61, 75%, 60%)
CMYKcmyk(1.3%, 0%, 74.5%, 40%)
CIE-LABlab(61.23, -14.58, 55.70)
CIE-LCHlch(61.23, 57.58, 104.67°)
OKLaboklab(66.08% -0.0459 0.1227)
OKLCHoklch(66.08% 0.131 110.5)
XYZxyz(24.5208, 29.5089, 6.3232)
Luminance0.2951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979927 #292799
analogous
#996227 #979927 #5E9927
triadic
#979927 #279799 #992797
tetradic
#979927 #279962 #292799 #99275E
square
#979927 #279962 #292799 #99275E
split-complementary
#979927 #275E99 #622799
monochromatic
#37370E #67681B #979927 #C7CA33 #D5D763

Accessibility & contrast

On white

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

On black

6.90
#979927 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979927
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979927#FFFFFF#000000##000000
##9799271.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5920F
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#A28F83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979927;
/* rgb */ color: rgb(151, 153, 39);
/* oklch */ color: oklch(66.1% 0.131 110.5);
Tailwind
colors: {
  custom: {
    50: '#b9b66a',
    500: '#979927',
    950: '#000000',
  },
}
SCSS
$custom: #979927;
$custom-light: #b9b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#979927",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 39
  },
  "hsl": {
    "h": 61.053,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66076,
    "c": 0.13103,
    "h": 110.5
  },
  "luminance": 0.29508
}

Semantic roles & 50–950 ramp

primary
#979927
secondary
#615FBD
accent
#45E348
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979927

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

Preview Lab → · Contrast checker → · Palette generator →

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