#978334#978334

#978334 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.3% C 0.101 H 95.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#978334
RGBrgb(151, 131, 52)
HSLhsl(48, 49%, 40%)
HSVhsv(48, 66%, 59%)
CMYKcmyk(0%, 13.2%, 65.6%, 40.8%)
CIE-LABlab(55.13, -1.97, 44.21)
CIE-LCHlch(55.13, 44.26, 92.55°)
OKLaboklab(61.26% -0.0088 0.1007)
OKLCHoklch(61.26% 0.101 95)
XYZxyz(21.4996, 23.0609, 6.5669)
Luminance0.2306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978334 #344897
analogous
#975234 #978334 #799734
triadic
#978334 #349783 #833497
tetradic
#978334 #349752 #344897 #973479
square
#978334 #349752 #344897 #973479
split-complementary
#978334 #347997 #523497
monochromatic
#3C3415 #695C24 #978334 #C0A848 #D0BE76

Accessibility & contrast

On white

3.74
#978334 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#978334 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978334
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978334#FFFFFF#000000##000000
##9783341.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802B
Deuteranopia (green-blind)
#958738
Tritanopia (blue-blind)
#A37972
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978334;
/* rgb */ color: rgb(151, 131, 52);
/* oklch */ color: oklch(61.3% 0.101 95.0);
Tailwind
colors: {
  custom: {
    50: '#b8a66f',
    500: '#978334',
    950: '#000000',
  },
}
SCSS
$custom: #978334;
$custom-light: #b8a66f;
$custom-dark: #000000;
JSON
{
  "hex": "#978334",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 47.879,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6126,
    "c": 0.1011,
    "h": 95
  },
  "luminance": 0.2306
}

Semantic roles & 50–950 ramp

primary
#978334
secondary
#6F7EB8
accent
#6BD84F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978334

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

Preview Lab → · Contrast checker → · Palette generator →

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