#978330#978330

#978330 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.2% C 0.104 H 95.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#978330
RGBrgb(151, 131, 48)
HSLhsl(48, 52%, 39%)
HSVhsv(48, 68%, 59%)
CMYKcmyk(0%, 13.2%, 68.2%, 40.8%)
CIE-LABlab(55.10, -2.22, 46.01)
CIE-LCHlch(55.10, 46.06, 92.77°)
OKLaboklab(61.22% -0.01 0.1039)
OKLCHoklch(61.22% 0.104 95.5)
XYZxyz(21.4133, 23.0264, 6.1124)
Luminance0.2303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978330 #304497
analogous
#975030 #978330 #789730
triadic
#978330 #309783 #833097
tetradic
#978330 #309750 #304497 #973078
square
#978330 #309750 #304497 #973078
split-complementary
#978330 #307897 #503097
monochromatic
#3A3212 #695B21 #978330 #C3AA41 #D2BF70

Accessibility & contrast

On white

3.75
#978330 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##978330#FFFFFF#000000##000000
##9783301.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#958734
Tritanopia (blue-blind)
#A37972
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978330;
/* rgb */ color: rgb(151, 131, 48);
/* oklch */ color: oklch(61.2% 0.104 95.5);
Tailwind
colors: {
  custom: {
    50: '#b9a66d',
    500: '#978330',
    950: '#000000',
  },
}
SCSS
$custom: #978330;
$custom-light: #b9a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#978330",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 48
  },
  "hsl": {
    "h": 48.35,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61221,
    "c": 0.10434,
    "h": 95.5
  },
  "luminance": 0.23025
}

Semantic roles & 50–950 ramp

primary
#978330
secondary
#6A79B9
accent
#68DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978330

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

Preview Lab → · Contrast checker → · Palette generator →

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