#978339#978339

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

Color values

HEX#978339
RGBrgb(151, 131, 57)
HSLhsl(47, 45%, 41%)
HSVhsv(47, 62%, 59%)
CMYKcmyk(0%, 13.2%, 62.3%, 40.8%)
CIE-LABlab(55.18, -1.62, 41.89)
CIE-LCHlch(55.18, 41.92, 92.21°)
OKLaboklab(61.32% -0.0071 0.0965)
OKLCHoklch(61.32% 0.097 94.2)
XYZxyz(21.6183, 23.1084, 7.1918)
Luminance0.2311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978339 #394D97
analogous
#975439 #978339 #7C9739
triadic
#978339 #399783 #833997
tetradic
#978339 #399754 #394D97 #97397C
square
#978339 #399754 #394D97 #97397C
split-complementary
#978339 #397C97 #543997
monochromatic
#3E3617 #6B5C28 #978339 #BDA650 #CEBD7D

Accessibility & contrast

On white

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

On black

5.62
#978339 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978339
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978339#FFFFFF#000000##000000
##9783391.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908131
Deuteranopia (green-blind)
#95873C
Tritanopia (blue-blind)
#A37A73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978339;
/* rgb */ color: rgb(151, 131, 57);
/* oklch */ color: oklch(61.3% 0.097 94.2);
Tailwind
colors: {
  custom: {
    50: '#b8a672',
    500: '#978339',
    950: '#000000',
  },
}
SCSS
$custom: #978339;
$custom-light: #b8a672;
$custom-dark: #000000;
JSON
{
  "hex": "#978339",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 57
  },
  "hsl": {
    "h": 47.234,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61315,
    "c": 0.09676,
    "h": 94.2
  },
  "luminance": 0.23107
}

Semantic roles & 50–950 ramp

primary
#978339
secondary
#7583B7
accent
#6FD553
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978339

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

Preview Lab → · Contrast checker → · Palette generator →

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