#978023#978023

#978023 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.5% C 0.111 H 94.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#978023
RGBrgb(151, 128, 35)
HSLhsl(48, 62%, 36%)
HSVhsv(48, 77%, 59%)
CMYKcmyk(0%, 15.2%, 76.8%, 40.8%)
CIE-LABlab(54.18, -1.24, 50.50)
CIE-LCHlch(54.18, 50.51, 91.40°)
OKLaboklab(60.46% -0.0088 0.1109)
OKLCHoklch(60.46% 0.111 94.5)
XYZxyz(20.7862, 22.1402, 4.7684)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978023 #233A97
analogous
#974623 #978023 #749723
triadic
#978023 #239780 #802397
tetradic
#978023 #239746 #233A97 #972374
square
#978023 #239746 #233A97 #972374
split-complementary
#978023 #237497 #462397
monochromatic
#342C0C #655617 #978023 #C9AA2F #D9C05B

Accessibility & contrast

On white

3.87
#978023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#978023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978023
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978023#FFFFFF#000000##000000
##9780231.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D12
Deuteranopia (green-blind)
#948529
Tritanopia (blue-blind)
#A4756E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #978023;
/* rgb */ color: rgb(151, 128, 35);
/* oklch */ color: oklch(60.5% 0.111 94.5);
Tailwind
colors: {
  custom: {
    50: '#b9a465',
    500: '#978023',
    950: '#000000',
  },
}
SCSS
$custom: #978023;
$custom-light: #b9a465;
$custom-dark: #000000;
JSON
{
  "hex": "#978023",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 48.103,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6046,
    "c": 0.11122,
    "h": 94.5
  },
  "luminance": 0.22139
}

Semantic roles & 50–950 ramp

primary
#978023
secondary
#586CBE
accent
#63E542
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978023

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

Preview Lab → · Contrast checker → · Palette generator →

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