#978E35#978E35

#978E35 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.110 H 103.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#978E35
RGBrgb(151, 142, 53)
HSLhsl(54, 48%, 40%)
HSVhsv(54, 65%, 59%)
CMYKcmyk(0%, 6%, 64.9%, 40.8%)
CIE-LABlab(58.21, -7.94, 47.05)
CIE-LCHlch(58.21, 47.72, 99.58°)
OKLaboklab(63.7% -0.0257 0.1069)
OKLCHoklch(63.7% 0.11 103.5)
XYZxyz(23.0790, 26.1832, 7.2056)
Luminance0.2618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E35 #353E97
analogous
#975D35 #978E35 #6F9735
triadic
#978E35 #35978E #8E3597
tetradic
#978E35 #35975D #353E97 #97356F
square
#978E35 #35975D #353E97 #97356F
split-complementary
#978E35 #356F97 #5D3597
monochromatic
#3C3915 #6A6325 #978E35 #BFB54A #CFC777

Accessibility & contrast

On white

3.37
#978E35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#978E35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E35
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E35#FFFFFF#000000##000000
##978E351.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892A
Deuteranopia (green-blind)
#9D8E3A
Tritanopia (blue-blind)
#A2857B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978e35;
/* rgb */ color: rgb(151, 142, 53);
/* oklch */ color: oklch(63.7% 0.110 103.5);
Tailwind
colors: {
  custom: {
    50: '#b8ae71',
    500: '#978e35',
    950: '#000000',
  },
}
SCSS
$custom: #978e35;
$custom-light: #b8ae71;
$custom-dark: #000000;
JSON
{
  "hex": "#978e35",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 53
  },
  "hsl": {
    "h": 54.49,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.63702,
    "c": 0.10995,
    "h": 103.5
  },
  "luminance": 0.26182
}

Semantic roles & 50–950 ramp

primary
#978E35
secondary
#7076B8
accent
#5DD850
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978E35

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

Preview Lab → · Contrast checker → · Palette generator →

#978E35 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva