#978439#978439

#978439 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.5% C 0.098 H 95.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#978439
RGBrgb(151, 132, 57)
HSLhsl(48, 45%, 41%)
HSVhsv(48, 62%, 59%)
CMYKcmyk(0%, 12.6%, 62.3%, 40.8%)
CIE-LABlab(55.46, -2.17, 42.19)
CIE-LCHlch(55.46, 42.25, 92.95°)
OKLaboklab(61.53% -0.0088 0.0972)
OKLCHoklch(61.53% 0.098 95.1)
XYZxyz(21.7532, 23.3783, 7.2367)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978439 #394C97
analogous
#975539 #978439 #7B9739
triadic
#978439 #399784 #843997
tetradic
#978439 #399755 #394C97 #97397B
square
#978439 #399755 #394C97 #97397B
split-complementary
#978439 #397B97 #553997
monochromatic
#3E3617 #6B5D28 #978439 #BDA750 #CEBD7D

Accessibility & contrast

On white

3.70
#978439 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#978439 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978439
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978439#FFFFFF#000000##000000
##9784391.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918131
Deuteranopia (green-blind)
#96873C
Tritanopia (blue-blind)
#A27B74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #978439;
/* rgb */ color: rgb(151, 132, 57);
/* oklch */ color: oklch(61.5% 0.098 95.1);
Tailwind
colors: {
  custom: {
    50: '#b8a772',
    500: '#978439',
    950: '#000000',
  },
}
SCSS
$custom: #978439;
$custom-light: #b8a772;
$custom-dark: #000000;
JSON
{
  "hex": "#978439",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 57
  },
  "hsl": {
    "h": 47.872,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61533,
    "c": 0.09755,
    "h": 95.1
  },
  "luminance": 0.23377
}

Semantic roles & 50–950 ramp

primary
#978439
secondary
#7582B7
accent
#6DD553
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978439

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

Preview Lab → · Contrast checker → · Palette generator →

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