#979026#979026

#979026 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.0% C 0.123 H 105.5°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#979026
RGBrgb(151, 144, 38)
HSLhsl(56, 60%, 37%)
HSVhsv(56, 75%, 59%)
CMYKcmyk(0%, 4.6%, 74.8%, 40.8%)
CIE-LABlab(58.66, -9.86, 53.63)
CIE-LCHlch(58.66, 54.53, 100.42°)
OKLaboklab(64.03% -0.0328 0.1181)
OKLCHoklch(64.03% 0.123 105.5)
XYZxyz(23.0866, 26.6666, 5.7644)
Luminance0.2667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979026 #262D97
analogous
#975826 #979026 #669726
triadic
#979026 #269790 #902697
tetradic
#979026 #269758 #262D97 #972666
square
#979026 #269758 #262D97 #972666
split-complementary
#979026 #266697 #582697
monochromatic
#35330D #66611A #979026 #C8BF32 #D7D060

Accessibility & contrast

On white

3.32
#979026 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#979026 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979026
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979026#FFFFFF#000000##000000
##9790261.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B11
Deuteranopia (green-blind)
#A08F2E
Tritanopia (blue-blind)
#A2867C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #979026;
/* rgb */ color: rgb(151, 144, 38);
/* oklch */ color: oklch(64.0% 0.123 105.5);
Tailwind
colors: {
  custom: {
    50: '#b9b069',
    500: '#979026',
    950: '#000000',
  },
}
SCSS
$custom: #979026;
$custom-light: #b9b069;
$custom-dark: #000000;
JSON
{
  "hex": "#979026",
  "rgb": {
    "r": 151,
    "g": 144,
    "b": 38
  },
  "hsl": {
    "h": 56.283,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64028,
    "c": 0.12261,
    "h": 105.5
  },
  "luminance": 0.26666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #979026

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

Preview Lab → · Contrast checker → · Palette generator →

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