#979B1E#979B1E

#979B1E is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.5% C 0.138 H 111.5°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#979B1E
RGBrgb(151, 155, 30)
HSLhsl(62, 68%, 36%)
HSVhsv(62, 81%, 61%)
CMYKcmyk(2.6%, 0%, 80.6%, 39.2%)
CIE-LABlab(61.75, -15.99, 59.07)
CIE-LCHlch(61.75, 61.20, 105.15°)
OKLaboklab(66.48% -0.0506 0.1282)
OKLCHoklch(66.48% 0.138 111.5)
XYZxyz(24.7191, 30.1164, 5.7390)
Luminance0.3012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979B1E #221E9B
analogous
#9B611E #979B1E #599B1E
triadic
#979B1E #1E979B #9B1E97
tetradic
#979B1E #1E9B61 #221E9B #9B1E59
square
#979B1E #1E9B61 #221E9B #9B1E59
split-complementary
#979B1E #1E599B #611E9B
monochromatic
#33340A #656814 #979B1E #C9CE28 #DADE55

Accessibility & contrast

On white

2.99
#979B1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#979B1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979B1E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979B1E#FFFFFF#000000##000000
##979B1E1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A8972A
Tritanopia (blue-blind)
#A29184
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979b1e;
/* rgb */ color: rgb(151, 155, 30);
/* oklch */ color: oklch(66.5% 0.138 111.5);
Tailwind
colors: {
  custom: {
    50: '#b9b866',
    500: '#979b1e',
    950: '#000000',
  },
}
SCSS
$custom: #979b1e;
$custom-light: #b9b866;
$custom-dark: #000000;
JSON
{
  "hex": "#979b1e",
  "rgb": {
    "r": 151,
    "g": 155,
    "b": 30
  },
  "hsl": {
    "h": 61.92,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66482,
    "c": 0.13784,
    "h": 111.5
  },
  "luminance": 0.30116
}

Semantic roles & 50–950 ramp

primary
#979B1E
secondary
#5753C2
accent
#3DEA43
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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