#978135#978135

#978135 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.8% C 0.099 H 93.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#978135
RGBrgb(151, 129, 53)
HSLhsl(47, 48%, 40%)
HSVhsv(47, 65%, 59%)
CMYKcmyk(0%, 14.6%, 64.9%, 40.8%)
CIE-LABlab(54.59, -0.78, 43.16)
CIE-LCHlch(54.59, 43.16, 91.04°)
OKLaboklab(60.83% -0.0053 0.0986)
OKLCHoklch(60.83% 0.099 93.1)
XYZxyz(21.2564, 22.5380, 6.5981)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978135 #354B97
analogous
#975035 #978135 #7C9735
triadic
#978135 #359781 #813597
tetradic
#978135 #359750 #354B97 #97357C
square
#978135 #359750 #354B97 #97357C
split-complementary
#978135 #357C97 #503597
monochromatic
#3C3415 #6A5A25 #978135 #BFA54A #CFBC77

Accessibility & contrast

On white

3.81
#978135 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#978135 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978135
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978135#FFFFFF#000000##000000
##9781351.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2C
Deuteranopia (green-blind)
#948539
Tritanopia (blue-blind)
#A37771
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #978135;
/* rgb */ color: rgb(151, 129, 53);
/* oklch */ color: oklch(60.8% 0.099 93.1);
Tailwind
colors: {
  custom: {
    50: '#b8a570',
    500: '#978135',
    950: '#000000',
  },
}
SCSS
$custom: #978135;
$custom-light: #b8a570;
$custom-dark: #000000;
JSON
{
  "hex": "#978135",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 53
  },
  "hsl": {
    "h": 46.531,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.60835,
    "c": 0.09876,
    "h": 93.1
  },
  "luminance": 0.22537
}

Semantic roles & 50–950 ramp

primary
#978135
secondary
#7080B8
accent
#6FD850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978135

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

Preview Lab → · Contrast checker → · Palette generator →

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