#978630#978630

#978630 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.9% C 0.107 H 98.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#978630
RGBrgb(151, 134, 48)
HSLhsl(50, 52%, 39%)
HSVhsv(50, 68%, 59%)
CMYKcmyk(0%, 11.3%, 68.2%, 40.8%)
CIE-LABlab(55.93, -3.88, 46.87)
CIE-LCHlch(55.93, 47.04, 94.74°)
OKLaboklab(61.88% -0.0148 0.1057)
OKLCHoklch(61.88% 0.107 98)
XYZxyz(21.8221, 23.8439, 6.2486)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978630 #304197
analogous
#975330 #978630 #759730
triadic
#978630 #309786 #863097
tetradic
#978630 #309753 #304197 #973075
square
#978630 #309753 #304197 #973075
split-complementary
#978630 #307597 #533097
monochromatic
#3A3412 #695D21 #978630 #C3AD41 #D2C170

Accessibility & contrast

On white

3.64
#978630 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#978630 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978630
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978630#FFFFFF#000000##000000
##9786301.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938325
Deuteranopia (green-blind)
#988935
Tritanopia (blue-blind)
#A37C74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #978630;
/* rgb */ color: rgb(151, 134, 48);
/* oklch */ color: oklch(61.9% 0.107 98.0);
Tailwind
colors: {
  custom: {
    50: '#b9a86d',
    500: '#978630',
    950: '#000000',
  },
}
SCSS
$custom: #978630;
$custom-light: #b9a86d;
$custom-dark: #000000;
JSON
{
  "hex": "#978630",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 48
  },
  "hsl": {
    "h": 50.097,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61879,
    "c": 0.10672,
    "h": 98
  },
  "luminance": 0.23843
}

Semantic roles & 50–950 ramp

primary
#978630
secondary
#6A77B9
accent
#64DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978630

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

Preview Lab → · Contrast checker → · Palette generator →

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