#979126#979126

#979126 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.3% C 0.124 H 106.1°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#979126
RGBrgb(151, 145, 38)
HSLhsl(57, 60%, 37%)
HSVhsv(57, 75%, 59%)
CMYKcmyk(0%, 4%, 74.8%, 40.8%)
CIE-LABlab(58.95, -10.40, 53.90)
CIE-LCHlch(58.95, 54.90, 100.92°)
OKLaboklab(64.25% -0.0343 0.1187)
OKLCHoklch(64.25% 0.124 106.1)
XYZxyz(23.2387, 26.9709, 5.8151)
Luminance0.2697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979126 #262C97
analogous
#975926 #979126 #659726
triadic
#979126 #269791 #912697
tetradic
#979126 #269759 #262C97 #972665
square
#979126 #269759 #262C97 #972665
split-complementary
#979126 #266597 #592697
monochromatic
#35330D #66621A #979126 #C8C032 #D7D160

Accessibility & contrast

On white

3.28
#979126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#979126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979126
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979126#FFFFFF#000000##000000
##9791261.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B11
Deuteranopia (green-blind)
#A0902E
Tritanopia (blue-blind)
#A2877C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #979126;
/* rgb */ color: rgb(151, 145, 38);
/* oklch */ color: oklch(64.3% 0.124 106.1);
Tailwind
colors: {
  custom: {
    50: '#b9b069',
    500: '#979126',
    950: '#000000',
  },
}
SCSS
$custom: #979126;
$custom-light: #b9b069;
$custom-dark: #000000;
JSON
{
  "hex": "#979126",
  "rgb": {
    "r": 151,
    "g": 145,
    "b": 38
  },
  "hsl": {
    "h": 56.814,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64253,
    "c": 0.12357,
    "h": 106.1
  },
  "luminance": 0.2697
}

Semantic roles & 50–950 ramp

primary
#979126
secondary
#5C62BC
accent
#4DE345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #979126

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

Preview Lab → · Contrast checker → · Palette generator →

#979126 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva