#979F1B#979F1B

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

Color values

HEX#979F1B
RGBrgb(151, 159, 27)
HSLhsl(64, 71%, 36%)
HSVhsv(64, 83%, 62%)
CMYKcmyk(5%, 0%, 83%, 37.6%)
CIE-LABlab(62.89, -18.16, 60.89)
CIE-LCHlch(62.89, 63.53, 106.61°)
OKLaboklab(67.39% -0.0568 0.1316)
OKLCHoklch(67.39% 0.143 113.4)
XYZxyz(25.3593, 31.4553, 5.7723)
Luminance0.3145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F1B #231B9F
analogous
#9F651B #979F1B #559F1B
triadic
#979F1B #1B979F #9F1B97
tetradic
#979F1B #1B9F65 #231B9F #9F1B55
square
#979F1B #1B9F65 #231B9F #9F1B55
split-complementary
#979F1B #1B559F #651B9F
monochromatic
#343609 #656B12 #979F1B #C9D324 #D9E253

Accessibility & contrast

On white

2.88
#979F1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#979F1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979F1B
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979F1B#FFFFFF#000000##000000
##979F1B1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#A29588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979f1b;
/* rgb */ color: rgb(151, 159, 27);
/* oklch */ color: oklch(67.4% 0.143 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb66',
    500: '#979f1b',
    950: '#000000',
  },
}
SCSS
$custom: #979f1b;
$custom-light: #b9bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#979f1b",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 27
  },
  "hsl": {
    "h": 63.636,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.67388,
    "c": 0.14332,
    "h": 113.4
  },
  "luminance": 0.31455
}

Semantic roles & 50–950 ramp

primary
#979F1B
secondary
#5851C5
accent
#3AEE45
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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