#978934#978934

#978934 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.6% C 0.106 H 99.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#978934
RGBrgb(151, 137, 52)
HSLhsl(52, 49%, 40%)
HSVhsv(52, 66%, 59%)
CMYKcmyk(0%, 9.3%, 65.6%, 40.8%)
CIE-LABlab(56.80, -5.28, 46.00)
CIE-LCHlch(56.80, 46.30, 96.55°)
OKLaboklab(62.58% -0.0183 0.1045)
OKLCHoklch(62.58% 0.106 99.9)
XYZxyz(22.3289, 24.7195, 6.8433)
Luminance0.2472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978934 #344297
analogous
#975834 #978934 #749734
triadic
#978934 #349789 #893497
tetradic
#978934 #349758 #344297 #973474
square
#978934 #349758 #344297 #973474
split-complementary
#978934 #347497 #583497
monochromatic
#3C3615 #696024 #978934 #C0AF48 #D0C376

Accessibility & contrast

On white

3.53
#978934 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#978934 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978934
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978934#FFFFFF#000000##000000
##9789341.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96852A
Deuteranopia (green-blind)
#9A8B39
Tritanopia (blue-blind)
#A27F77
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #978934;
/* rgb */ color: rgb(151, 137, 52);
/* oklch */ color: oklch(62.6% 0.106 99.9);
Tailwind
colors: {
  custom: {
    50: '#b8ab70',
    500: '#978934',
    950: '#000000',
  },
}
SCSS
$custom: #978934;
$custom-light: #b8ab70;
$custom-dark: #000000;
JSON
{
  "hex": "#978934",
  "rgb": {
    "r": 151,
    "g": 137,
    "b": 52
  },
  "hsl": {
    "h": 51.515,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6258,
    "c": 0.1061,
    "h": 99.9
  },
  "luminance": 0.24719
}

Semantic roles & 50–950 ramp

primary
#978934
secondary
#6F79B8
accent
#63D84F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #978934

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

Preview Lab → · Contrast checker → · Palette generator →

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