#979028#979028

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

Color values

HEX#979028
RGBrgb(151, 144, 40)
HSLhsl(56, 58%, 37%)
HSVhsv(56, 74%, 59%)
CMYKcmyk(0%, 4.6%, 73.5%, 40.8%)
CIE-LABlab(58.68, -9.77, 52.90)
CIE-LCHlch(58.68, 53.80, 100.46°)
OKLaboklab(64.04% -0.0323 0.117)
OKLCHoklch(64.04% 0.121 105.5)
XYZxyz(23.1197, 26.6799, 5.9390)
Luminance0.2668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979028 #282F97
analogous
#975828 #979028 #679728
triadic
#979028 #289790 #902897
tetradic
#979028 #289758 #282F97 #972867
square
#979028 #289758 #282F97 #972867
split-complementary
#979028 #286797 #582897
monochromatic
#36340E #67621B #979028 #C7BE35 #D6CF64

Accessibility & contrast

On white

3.31
#979028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#979028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979028
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979028#FFFFFF#000000##000000
##9790281.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #979028;
/* rgb */ color: rgb(151, 144, 40);
/* oklch */ color: oklch(64.0% 0.121 105.5);
Tailwind
colors: {
  custom: {
    50: '#b9b06a',
    500: '#979028',
    950: '#000000',
  },
}
SCSS
$custom: #979028;
$custom-light: #b9b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#979028",
  "rgb": {
    "r": 151,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 56.216,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64042,
    "c": 0.12137,
    "h": 105.5
  },
  "luminance": 0.26679
}

Semantic roles & 50–950 ramp

primary
#979028
secondary
#5F65BC
accent
#50E146
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #979028

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

Preview Lab → · Contrast checker → · Palette generator →

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