#978232#978232

#978232 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.0% C 0.102 H 94.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#978232
RGBrgb(151, 130, 50)
HSLhsl(48, 50%, 39%)
HSVhsv(48, 67%, 59%)
CMYKcmyk(0%, 13.9%, 66.9%, 40.8%)
CIE-LABlab(54.84, -1.54, 44.82)
CIE-LCHlch(54.84, 44.85, 91.97°)
OKLaboklab(61.02% -0.0078 0.1017)
OKLCHoklch(61.02% 0.102 94.4)
XYZxyz(21.3219, 22.7760, 6.2901)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978232 #324797
analogous
#975032 #978232 #7A9732
triadic
#978232 #329782 #823297
tetradic
#978232 #329750 #324797 #97327A
square
#978232 #329750 #324797 #97327A
split-complementary
#978232 #327A97 #503297
monochromatic
#3B3314 #695A23 #978232 #C1A745 #D1BD73

Accessibility & contrast

On white

3.78
#978232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#978232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978232
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978232#FFFFFF#000000##000000
##9782321.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8028
Deuteranopia (green-blind)
#958636
Tritanopia (blue-blind)
#A37871
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #978232;
/* rgb */ color: rgb(151, 130, 50);
/* oklch */ color: oklch(61.0% 0.102 94.4);
Tailwind
colors: {
  custom: {
    50: '#b9a66e',
    500: '#978232',
    950: '#000000',
  },
}
SCSS
$custom: #978232;
$custom-light: #b9a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#978232",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 47.525,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61022,
    "c": 0.10199,
    "h": 94.4
  },
  "luminance": 0.22775
}

Semantic roles & 50–950 ramp

primary
#978232
secondary
#6C7CB9
accent
#6BDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978232

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

Preview Lab → · Contrast checker → · Palette generator →

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