#978923#978923

#978923 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.4% C 0.118 H 101.1°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#978923
RGBrgb(151, 137, 35)
HSLhsl(53, 62%, 36%)
HSVhsv(53, 77%, 59%)
CMYKcmyk(0%, 9.3%, 76.8%, 40.8%)
CIE-LABlab(56.68, -6.21, 52.85)
CIE-LCHlch(56.68, 53.21, 96.70°)
OKLaboklab(62.44% -0.0228 0.1159)
OKLCHoklch(62.44% 0.118 101.1)
XYZxyz(22.0126, 24.5930, 5.1772)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978923 #233197
analogous
#974F23 #978923 #6B9723
triadic
#978923 #239789 #892397
tetradic
#978923 #23974F #233197 #97236B
square
#978923 #23974F #233197 #97236B
split-complementary
#978923 #236B97 #4F2397
monochromatic
#342F0C #655C17 #978923 #C9B62F #D9CA5B

Accessibility & contrast

On white

3.55
#978923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#978923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978923
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978923#FFFFFF#000000##000000
##9789231.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850E
Deuteranopia (green-blind)
#9A8A2A
Tritanopia (blue-blind)
#A37F76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #978923;
/* rgb */ color: rgb(151, 137, 35);
/* oklch */ color: oklch(62.4% 0.118 101.1);
Tailwind
colors: {
  custom: {
    50: '#b9ab66',
    500: '#978923',
    950: '#000000',
  },
}
SCSS
$custom: #978923;
$custom-light: #b9ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#978923",
  "rgb": {
    "r": 151,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 52.759,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62441,
    "c": 0.11812,
    "h": 101.1
  },
  "luminance": 0.24592
}

Semantic roles & 50–950 ramp

primary
#978923
secondary
#5864BE
accent
#56E542
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #978923

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

Preview Lab → · Contrast checker → · Palette generator →

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