#978F33#978F33

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

Color values

HEX#978F33
RGBrgb(151, 143, 51)
HSLhsl(55, 50%, 40%)
HSVhsv(55, 66%, 59%)
CMYKcmyk(0%, 5.3%, 66.2%, 40.8%)
CIE-LABlab(58.48, -8.61, 48.22)
CIE-LCHlch(58.48, 48.98, 100.12°)
OKLaboklab(63.91% -0.0279 0.109)
OKLCHoklch(63.91% 0.113 104.3)
XYZxyz(23.1834, 26.4641, 7.0182)
Luminance0.2646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978F33 #333B97
analogous
#975D33 #978F33 #6D9733
triadic
#978F33 #33978F #8F3397
tetradic
#978F33 #33975D #333B97 #97336D
square
#978F33 #33975D #333B97 #97336D
split-complementary
#978F33 #336D97 #5D3397
monochromatic
#3C3814 #696424 #978F33 #C1B747 #D0C974

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978F33#FFFFFF#000000##000000
##978F331.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)
#9B8A27
Deuteranopia (green-blind)
#9E8F38
Tritanopia (blue-blind)
#A2857C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #978f33;
/* rgb */ color: rgb(151, 143, 51);
/* oklch */ color: oklch(63.9% 0.113 104.3);
Tailwind
colors: {
  custom: {
    50: '#b8af70',
    500: '#978f33',
    950: '#000000',
  },
}
SCSS
$custom: #978f33;
$custom-light: #b8af70;
$custom-dark: #000000;
JSON
{
  "hex": "#978f33",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 51
  },
  "hsl": {
    "h": 55.2,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63907,
    "c": 0.11254,
    "h": 104.3
  },
  "luminance": 0.26463
}

Semantic roles & 50–950 ramp

primary
#978F33
secondary
#6D73B8
accent
#5AD94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #978F33

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

Preview Lab → · Contrast checker → · Palette generator →

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