#978F37#978F37

#978F37 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 63.9% C 0.109 H 104.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#978F37
RGBrgb(151, 143, 55)
HSLhsl(55, 47%, 40%)
HSVhsv(55, 64%, 59%)
CMYKcmyk(0%, 5.3%, 63.6%, 40.8%)
CIE-LABlab(58.51, -8.35, 46.47)
CIE-LCHlch(58.51, 47.21, 100.18°)
OKLaboklab(63.94% -0.0267 0.106)
OKLCHoklch(63.94% 0.109 104.1)
XYZxyz(23.2754, 26.5009, 7.5028)
Luminance0.2650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978F37 #373F97
analogous
#975F37 #978F37 #6F9737
triadic
#978F37 #37978F #8F3797
tetradic
#978F37 #37975F #373F97 #97376F
square
#978F37 #37975F #373F97 #97376F
split-complementary
#978F37 #376F97 #5F3797
monochromatic
#3D3A16 #6A6527 #978F37 #BEB54D #CFC77A

Accessibility & contrast

On white

3.33
#978F37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#978F37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978F37
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978F37#FFFFFF#000000##000000
##978F371.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2D
Deuteranopia (green-blind)
#9E8F3C
Tritanopia (blue-blind)
#A2867C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #978f37;
/* rgb */ color: rgb(151, 143, 55);
/* oklch */ color: oklch(63.9% 0.109 104.1);
Tailwind
colors: {
  custom: {
    50: '#b8af72',
    500: '#978f37',
    950: '#000000',
  },
}
SCSS
$custom: #978f37;
$custom-light: #b8af72;
$custom-dark: #000000;
JSON
{
  "hex": "#978f37",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 55
  },
  "hsl": {
    "h": 55,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63945,
    "c": 0.10926,
    "h": 104.1
  },
  "luminance": 0.265
}

Semantic roles & 50–950 ramp

primary
#978F37
secondary
#7278B8
accent
#5DD652
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978F37

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

Preview Lab → · Contrast checker → · Palette generator →

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