#978F32#978F32

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

Color values

HEX#978F32
RGBrgb(151, 143, 50)
HSLhsl(55, 50%, 39%)
HSVhsv(55, 67%, 59%)
CMYKcmyk(0%, 5.3%, 66.9%, 40.8%)
CIE-LABlab(58.47, -8.67, 48.64)
CIE-LCHlch(58.47, 49.41, 100.11°)
OKLaboklab(63.9% -0.0282 0.1098)
OKLCHoklch(63.9% 0.113 104.4)
XYZxyz(23.1616, 26.4554, 6.9034)
Luminance0.2646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978F32 #323A97
analogous
#975D32 #978F32 #6C9732
triadic
#978F32 #32978F #8F3297
tetradic
#978F32 #32975D #323A97 #97326C
square
#978F32 #32975D #323A97 #97326C
split-complementary
#978F32 #326C97 #5D3297
monochromatic
#3B3814 #696323 #978F32 #C1B745 #D1C973

Accessibility & contrast

On white

3.34
#978F32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#978F32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978F32
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978F32#FFFFFF#000000##000000
##978F321.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A26
Deuteranopia (green-blind)
#9E8F38
Tritanopia (blue-blind)
#A2857C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #978f32;
/* rgb */ color: rgb(151, 143, 50);
/* oklch */ color: oklch(63.9% 0.113 104.4);
Tailwind
colors: {
  custom: {
    50: '#b8af6f',
    500: '#978f32',
    950: '#000000',
  },
}
SCSS
$custom: #978f32;
$custom-light: #b8af6f;
$custom-dark: #000000;
JSON
{
  "hex": "#978f32",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 50
  },
  "hsl": {
    "h": 55.248,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63898,
    "c": 0.11333,
    "h": 104.4
  },
  "luminance": 0.26455
}

Semantic roles & 50–950 ramp

primary
#978F32
secondary
#6C72B9
accent
#59DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #978F32

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

Preview Lab → · Contrast checker → · Palette generator →

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