#979023#979023

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

Color values

HEX#979023
RGBrgb(151, 144, 35)
HSLhsl(56, 62%, 36%)
HSVhsv(56, 77%, 59%)
CMYKcmyk(0%, 4.6%, 76.8%, 40.8%)
CIE-LABlab(58.65, -10.00, 54.68)
CIE-LCHlch(58.65, 55.59, 100.36°)
OKLaboklab(64.01% -0.0335 0.1198)
OKLCHoklch(64.01% 0.124 105.6)
XYZxyz(23.0401, 26.6481, 5.5197)
Luminance0.2665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979023 #232A97
analogous
#975623 #979023 #649723
triadic
#979023 #239790 #902397
tetradic
#979023 #239756 #232A97 #972364
square
#979023 #239756 #232A97 #972364
split-complementary
#979023 #236497 #562397
monochromatic
#34310C #656117 #979023 #C9BF2F #D9D15B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979023#FFFFFF#000000##000000
##9790231.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)
#9D8B0A
Deuteranopia (green-blind)
#A08F2B
Tritanopia (blue-blind)
#A3867B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #979023;
/* rgb */ color: rgb(151, 144, 35);
/* oklch */ color: oklch(64.0% 0.124 105.6);
Tailwind
colors: {
  custom: {
    50: '#b9b067',
    500: '#979023',
    950: '#000000',
  },
}
SCSS
$custom: #979023;
$custom-light: #b9b067;
$custom-dark: #000000;
JSON
{
  "hex": "#979023",
  "rgb": {
    "r": 151,
    "g": 144,
    "b": 35
  },
  "hsl": {
    "h": 56.379,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64009,
    "c": 0.12438,
    "h": 105.6
  },
  "luminance": 0.26647
}

Semantic roles & 50–950 ramp

primary
#979023
secondary
#585EBE
accent
#4CE542
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #979023

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

Preview Lab → · Contrast checker → · Palette generator →

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