#979C2B#979C2B

#979C2B is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.8% C 0.132 H 112.0°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#979C2B
RGBrgb(151, 156, 43)
HSLhsl(63, 57%, 39%)
HSVhsv(63, 72%, 61%)
CMYKcmyk(3.2%, 0%, 72.4%, 38.8%)
CIE-LABlab(62.11, -15.95, 55.10)
CIE-LCHlch(62.11, 57.36, 106.14°)
OKLaboklab(66.79% -0.0494 0.1222)
OKLCHoklch(66.79% 0.132 112)
XYZxyz(25.0878, 30.5313, 6.8566)
Luminance0.3053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979C2B #302B9C
analogous
#9C692B #979C2B #5F9C2B
triadic
#979C2B #2B979C #9C2B97
tetradic
#979C2B #2B9C69 #302B9C #9C2B5F
square
#979C2B #2B9C69 #302B9C #9C2B5F
split-complementary
#979C2B #2B5F9C #692B9C
monochromatic
#3A3C11 #696C1E #979C2B #C3C93B #D2D66B

Accessibility & contrast

On white

2.96
#979C2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#979C2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979C2B
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979C2B#FFFFFF#000000##000000
##979C2B1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89516
Deuteranopia (green-blind)
#A99734
Tritanopia (blue-blind)
#A19286
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #979c2b;
/* rgb */ color: rgb(151, 156, 43);
/* oklch */ color: oklch(66.8% 0.132 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b96d',
    500: '#979c2b',
    950: '#000000',
  },
}
SCSS
$custom: #979c2b;
$custom-light: #b9b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#979c2b",
  "rgb": {
    "r": 151,
    "g": 156,
    "b": 43
  },
  "hsl": {
    "h": 62.655,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66789,
    "c": 0.13178,
    "h": 112
  },
  "luminance": 0.30531
}

Semantic roles & 50–950 ramp

primary
#979C2B
secondary
#6A66BD
accent
#48E04E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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