#979E1C#979E1C

#979E1C is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.2% C 0.142 H 112.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#979E1C
RGBrgb(151, 158, 28)
HSLhsl(63, 70%, 36%)
HSVhsv(63, 82%, 62%)
CMYKcmyk(4.4%, 0%, 82.3%, 38%)
CIE-LABlab(62.61, -17.61, 60.38)
CIE-LCHlch(62.61, 62.89, 106.26°)
OKLaboklab(67.16% -0.0553 0.1306)
OKLCHoklch(67.16% 0.142 112.9)
XYZxyz(25.1998, 31.1175, 5.7772)
Luminance0.3112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979E1C #231C9E
analogous
#9E641C #979E1C #569E1C
triadic
#979E1C #1C979E #9E1C97
tetradic
#979E1C #1C9E64 #231C9E #9E1C56
square
#979E1C #1C9E64 #231C9E #9E1C56
split-complementary
#979E1C #1C569E #641C9E
monochromatic
#34360A #656A13 #979E1C #C9D225 #D9E154

Accessibility & contrast

On white

2.91
#979E1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#979E1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979E1C
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979E1C#FFFFFF#000000##000000
##979E1C1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#A29487
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979e1c;
/* rgb */ color: rgb(151, 158, 28);
/* oklch */ color: oklch(67.2% 0.142 112.9);
Tailwind
colors: {
  custom: {
    50: '#b9ba66',
    500: '#979e1c',
    950: '#000000',
  },
}
SCSS
$custom: #979e1c;
$custom-light: #b9ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#979e1c",
  "rgb": {
    "r": 151,
    "g": 158,
    "b": 28
  },
  "hsl": {
    "h": 63.231,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.67162,
    "c": 0.14186,
    "h": 112.9
  },
  "luminance": 0.31117
}

Semantic roles & 50–950 ramp

primary
#979E1C
secondary
#5852C4
accent
#3BED45
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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