#979B25#979B25

#979B25 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.5% C 0.134 H 111.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#979B25
RGBrgb(151, 155, 37)
HSLhsl(62, 61%, 38%)
HSVhsv(62, 76%, 61%)
CMYKcmyk(2.6%, 0%, 76.1%, 39.2%)
CIE-LABlab(61.79, -15.71, 56.91)
CIE-LCHlch(61.79, 59.04, 105.43°)
OKLaboklab(66.52% -0.0493 0.1249)
OKLCHoklch(66.52% 0.134 111.5)
XYZxyz(24.8186, 30.1562, 6.2633)
Luminance0.3016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979B25 #29259B
analogous
#9B6425 #979B25 #5C9B25
triadic
#979B25 #25979B #9B2597
tetradic
#979B25 #259B64 #29259B #9B255C
square
#979B25 #259B64 #29259B #9B255C
split-complementary
#979B25 #255C9B #64259B
monochromatic
#37380D #676A19 #979B25 #C7CC31 #D5D961

Accessibility & contrast

On white

2.99
#979B25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#979B25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979B25
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979B25#FFFFFF#000000##000000
##979B251.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79408
Deuteranopia (green-blind)
#A8972F
Tritanopia (blue-blind)
#A29185
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979b25;
/* rgb */ color: rgb(151, 155, 37);
/* oklch */ color: oklch(66.5% 0.134 111.5);
Tailwind
colors: {
  custom: {
    50: '#b9b869',
    500: '#979b25',
    950: '#000000',
  },
}
SCSS
$custom: #979b25;
$custom-light: #b9b869;
$custom-dark: #000000;
JSON
{
  "hex": "#979b25",
  "rgb": {
    "r": 151,
    "g": 155,
    "b": 37
  },
  "hsl": {
    "h": 62.034,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6652,
    "c": 0.13428,
    "h": 111.5
  },
  "luminance": 0.30156
}

Semantic roles & 50–950 ramp

primary
#979B25
secondary
#615DBF
accent
#43E549
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979B25

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

Preview Lab → · Contrast checker → · Palette generator →

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