#979F2B#979F2B

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

Color values

HEX#979F2B
RGBrgb(151, 159, 43)
HSLhsl(64, 57%, 40%)
HSVhsv(64, 73%, 62%)
CMYKcmyk(5%, 0%, 73%, 37.6%)
CIE-LABlab(62.97, -17.50, 55.93)
CIE-LCHlch(62.97, 58.61, 107.37°)
OKLaboklab(67.48% -0.0537 0.1239)
OKLCHoklch(67.48% 0.135 113.4)
XYZxyz(25.5974, 31.5505, 7.0265)
Luminance0.3155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F2B #332B9F
analogous
#9F6D2B #979F2B #5D9F2B
triadic
#979F2B #2B979F #9F2B97
tetradic
#979F2B #2B9F6D #332B9F #9F2B5D
square
#979F2B #2B9F6D #332B9F #9F2B5D
split-complementary
#979F2B #2B5D9F #6D2B9F
monochromatic
#3C3F11 #696F1E #979F2B #C1CA3D #D0D76D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979F2B#FFFFFF#000000##000000
##979F2B1.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)
#AB9715
Deuteranopia (green-blind)
#AB9A34
Tritanopia (blue-blind)
#A19589
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979f2b;
/* rgb */ color: rgb(151, 159, 43);
/* oklch */ color: oklch(67.5% 0.135 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb6d',
    500: '#979f2b',
    950: '#000000',
  },
}
SCSS
$custom: #979f2b;
$custom-light: #b9bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#979f2b",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 43
  },
  "hsl": {
    "h": 64.138,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67477,
    "c": 0.13506,
    "h": 113.4
  },
  "luminance": 0.3155
}

Semantic roles & 50–950 ramp

primary
#979F2B
secondary
#6D67BE
accent
#47E152
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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