#978A33#978A33

#978A33 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.8% C 0.108 H 100.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#978A33
RGBrgb(151, 138, 51)
HSLhsl(52, 50%, 40%)
HSVhsv(52, 66%, 59%)
CMYKcmyk(0%, 8.6%, 66.2%, 40.8%)
CIE-LABlab(57.07, -5.89, 46.74)
CIE-LCHlch(57.07, 47.11, 97.19°)
OKLaboklab(62.79% -0.0201 0.1059)
OKLCHoklch(62.79% 0.108 100.8)
XYZxyz(22.4494, 24.9962, 6.7736)
Luminance0.2500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978A33 #334097
analogous
#975833 #978A33 #729733
triadic
#978A33 #33978A #8A3397
tetradic
#978A33 #339758 #334097 #973372
square
#978A33 #339758 #334097 #973372
split-complementary
#978A33 #337297 #583397
monochromatic
#3C3614 #696024 #978A33 #C1B147 #D0C474

Accessibility & contrast

On white

3.50
#978A33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#978A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978A33
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978A33#FFFFFF#000000##000000
##978A331.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978628
Deuteranopia (green-blind)
#9A8B38
Tritanopia (blue-blind)
#A28078
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #978a33;
/* rgb */ color: rgb(151, 138, 51);
/* oklch */ color: oklch(62.8% 0.108 100.8);
Tailwind
colors: {
  custom: {
    50: '#b8ab6f',
    500: '#978a33',
    950: '#000000',
  },
}
SCSS
$custom: #978a33;
$custom-light: #b8ab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#978a33",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 51
  },
  "hsl": {
    "h": 52.2,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62792,
    "c": 0.10781,
    "h": 100.8
  },
  "luminance": 0.24995
}

Semantic roles & 50–950 ramp

primary
#978A33
secondary
#6D77B8
accent
#61D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #978A33

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

Preview Lab → · Contrast checker → · Palette generator →

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