#978335#978335

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

Color values

HEX#978335
RGBrgb(151, 131, 53)
HSLhsl(48, 48%, 40%)
HSVhsv(48, 65%, 59%)
CMYKcmyk(0%, 13.2%, 64.9%, 40.8%)
CIE-LABlab(55.14, -1.90, 43.76)
CIE-LCHlch(55.14, 43.80, 92.49°)
OKLaboklab(61.27% -0.0085 0.0999)
OKLCHoklch(61.27% 0.1 94.8)
XYZxyz(21.5224, 23.0700, 6.6868)
Luminance0.2307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978335 #354997
analogous
#975235 #978335 #7A9735
triadic
#978335 #359783 #833597
tetradic
#978335 #359752 #354997 #97357A
square
#978335 #359752 #354997 #97357A
split-complementary
#978335 #357A97 #523597
monochromatic
#3C3415 #6A5C25 #978335 #BFA74A #CFBD77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978335#FFFFFF#000000##000000
##9783351.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802C
Deuteranopia (green-blind)
#958739
Tritanopia (blue-blind)
#A37972
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978335;
/* rgb */ color: rgb(151, 131, 53);
/* oklch */ color: oklch(61.3% 0.100 94.8);
Tailwind
colors: {
  custom: {
    50: '#b8a670',
    500: '#978335',
    950: '#000000',
  },
}
SCSS
$custom: #978335;
$custom-light: #b8a670;
$custom-dark: #000000;
JSON
{
  "hex": "#978335",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 47.755,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.61271,
    "c": 0.10026,
    "h": 94.8
  },
  "luminance": 0.23069
}

Semantic roles & 50–950 ramp

primary
#978335
secondary
#707FB8
accent
#6CD850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978335

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

Preview Lab → · Contrast checker → · Palette generator →

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