#978B33#978B33

#978B33 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.0% C 0.109 H 101.5°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#978B33
RGBrgb(151, 139, 51)
HSLhsl(53, 50%, 40%)
HSVhsv(53, 66%, 59%)
CMYKcmyk(0%, 7.9%, 66.2%, 40.8%)
CIE-LABlab(57.35, -6.44, 47.03)
CIE-LCHlch(57.35, 47.47, 97.80°)
OKLaboklab(63.01% -0.0217 0.1065)
OKLCHoklch(63.01% 0.109 101.5)
XYZxyz(22.5936, 25.2845, 6.8216)
Luminance0.2528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978B33 #333F97
analogous
#975933 #978B33 #719733
triadic
#978B33 #33978B #8B3397
tetradic
#978B33 #339759 #333F97 #973371
square
#978B33 #339759 #333F97 #973371
split-complementary
#978B33 #337197 #593397
monochromatic
#3C3714 #696124 #978B33 #C1B247 #D0C574

Accessibility & contrast

On white

3.47
#978B33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#978B33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978B33
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978B33#FFFFFF#000000##000000
##978B331.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988728
Deuteranopia (green-blind)
#9B8C38
Tritanopia (blue-blind)
#A28179
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978b33;
/* rgb */ color: rgb(151, 139, 51);
/* oklch */ color: oklch(63.0% 0.109 101.5);
Tailwind
colors: {
  custom: {
    50: '#b8ac6f',
    500: '#978b33',
    950: '#000000',
  },
}
SCSS
$custom: #978b33;
$custom-light: #b8ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#978b33",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 51
  },
  "hsl": {
    "h": 52.8,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63014,
    "c": 0.10872,
    "h": 101.5
  },
  "luminance": 0.25284
}

Semantic roles & 50–950 ramp

primary
#978B33
secondary
#6D76B8
accent
#5FD94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #978B33

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

Preview Lab → · Contrast checker → · Palette generator →

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