#979232#979232

#979232 is a light, moderate yellow. Relative luminance 0.274; OKLCH L 64.6% C 0.116 H 106.3°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#979232
RGBrgb(151, 146, 50)
HSLhsl(57, 50%, 39%)
HSVhsv(57, 67%, 59%)
CMYKcmyk(0%, 3.3%, 66.9%, 40.8%)
CIE-LABlab(59.31, -10.28, 49.52)
CIE-LCHlch(59.31, 50.58, 101.73°)
OKLaboklab(64.57% -0.0327 0.1116)
OKLCHoklch(64.57% 0.116 106.3)
XYZxyz(23.6180, 27.3682, 7.0555)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979232 #323797
analogous
#976032 #979232 #6A9732
triadic
#979232 #329792 #923297
tetradic
#979232 #329760 #323797 #97326A
square
#979232 #329760 #323797 #97326A
split-complementary
#979232 #326A97 #603297
monochromatic
#3B3914 #696623 #979232 #C1BB45 #D1CC73

Accessibility & contrast

On white

3.24
#979232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#979232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979232
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979232#FFFFFF#000000##000000
##9792321.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D25
Deuteranopia (green-blind)
#A09138
Tritanopia (blue-blind)
#A2887E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #979232;
/* rgb */ color: rgb(151, 146, 50);
/* oklch */ color: oklch(64.6% 0.116 106.3);
Tailwind
colors: {
  custom: {
    50: '#b8b16f',
    500: '#979232',
    950: '#000000',
  },
}
SCSS
$custom: #979232;
$custom-light: #b8b16f;
$custom-dark: #000000;
JSON
{
  "hex": "#979232",
  "rgb": {
    "r": 151,
    "g": 146,
    "b": 50
  },
  "hsl": {
    "h": 57.03,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64572,
    "c": 0.11632,
    "h": 106.3
  },
  "luminance": 0.27367
}

Semantic roles & 50–950 ramp

primary
#979232
secondary
#6C70B9
accent
#55DA4E
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #979232

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

Preview Lab → · Contrast checker → · Palette generator →

#979232 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva