#979F1D#979F1D

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

Color values

HEX#979F1D
RGBrgb(151, 159, 29)
HSLhsl(64, 69%, 37%)
HSVhsv(64, 82%, 62%)
CMYKcmyk(5%, 0%, 81.8%, 37.6%)
CIE-LABlab(62.90, -18.09, 60.36)
CIE-LCHlch(62.90, 63.01, 106.69°)
OKLaboklab(67.4% -0.0565 0.1308)
OKLCHoklch(67.4% 0.142 113.4)
XYZxyz(25.3832, 31.4649, 5.8983)
Luminance0.3146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F1D #251D9F
analogous
#9F661D #979F1D #569F1D
triadic
#979F1D #1D979F #9F1D97
tetradic
#979F1D #1D9F66 #251D9F #9F1D56
square
#979F1D #1D9F66 #251D9F #9F1D56
split-complementary
#979F1D #1D569F #661D9F
monochromatic
#35370A #666B14 #979F1D #C8D326 #D8E056

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979F1D#FFFFFF#000000##000000
##979F1D1.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)
#AB992A
Tritanopia (blue-blind)
#A29588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979f1d;
/* rgb */ color: rgb(151, 159, 29);
/* oklch */ color: oklch(67.4% 0.142 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb67',
    500: '#979f1d',
    950: '#000000',
  },
}
SCSS
$custom: #979f1d;
$custom-light: #b9bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#979f1d",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 29
  },
  "hsl": {
    "h": 63.692,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.67397,
    "c": 0.14248,
    "h": 113.4
  },
  "luminance": 0.31464
}

Semantic roles & 50–950 ramp

primary
#979F1D
secondary
#5B54C4
accent
#3CEC47
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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