#978730#978730

#978730 is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.1% C 0.108 H 98.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#978730
RGBrgb(151, 135, 48)
HSLhsl(51, 52%, 39%)
HSVhsv(51, 68%, 59%)
CMYKcmyk(0%, 10.6%, 68.2%, 40.8%)
CIE-LABlab(56.21, -4.43, 47.16)
CIE-LCHlch(56.21, 47.37, 95.37°)
OKLaboklab(62.1% -0.0163 0.1063)
OKLCHoklch(62.1% 0.108 98.7)
XYZxyz(21.9610, 24.1217, 6.2949)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978730 #304097
analogous
#975430 #978730 #749730
triadic
#978730 #309787 #873097
tetradic
#978730 #309754 #304097 #973074
square
#978730 #309754 #304097 #973074
split-complementary
#978730 #307497 #543097
monochromatic
#3A3412 #695D21 #978730 #C3AF41 #D2C270

Accessibility & contrast

On white

3.61
#978730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#978730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978730
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978730#FFFFFF#000000##000000
##9787301.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948425
Deuteranopia (green-blind)
#988935
Tritanopia (blue-blind)
#A37D75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978730;
/* rgb */ color: rgb(151, 135, 48);
/* oklch */ color: oklch(62.1% 0.108 98.7);
Tailwind
colors: {
  custom: {
    50: '#b9a96d',
    500: '#978730',
    950: '#000000',
  },
}
SCSS
$custom: #978730;
$custom-light: #b9a96d;
$custom-dark: #000000;
JSON
{
  "hex": "#978730",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 50.68,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.621,
    "c": 0.10756,
    "h": 98.7
  },
  "luminance": 0.24121
}

Semantic roles & 50–950 ramp

primary
#978730
secondary
#6A76B9
accent
#63DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978730

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

Preview Lab → · Contrast checker → · Palette generator →

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