#978A2B#978A2B

#978A2B is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.7% C 0.114 H 101.4°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#978A2B
RGBrgb(151, 138, 43)
HSLhsl(53, 56%, 38%)
HSVhsv(53, 72%, 59%)
CMYKcmyk(0%, 8.6%, 71.5%, 40.8%)
CIE-LABlab(57.01, -6.36, 50.10)
CIE-LCHlch(57.01, 50.50, 97.24°)
OKLaboklab(62.72% -0.0224 0.1116)
OKLCHoklch(62.72% 0.114 101.4)
XYZxyz(22.2880, 24.9317, 5.9233)
Luminance0.2493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978A2B #2B3897
analogous
#97542B #978A2B #6E972B
triadic
#978A2B #2B978A #8A2B97
tetradic
#978A2B #2B9754 #2B3897 #972B6E
square
#978A2B #2B9754 #2B3897 #972B6E
split-complementary
#978A2B #2B6E97 #542B97
monochromatic
#383310 #675E1D #978A2B #C7B539 #D4C768

Accessibility & contrast

On white

3.51
#978A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#978A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978A2B
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978A2B#FFFFFF#000000##000000
##978A2B1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861D
Deuteranopia (green-blind)
#9B8B31
Tritanopia (blue-blind)
#A38077
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #978a2b;
/* rgb */ color: rgb(151, 138, 43);
/* oklch */ color: oklch(62.7% 0.114 101.4);
Tailwind
colors: {
  custom: {
    50: '#b9ab6b',
    500: '#978a2b',
    950: '#000000',
  },
}
SCSS
$custom: #978a2b;
$custom-light: #b9ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#978a2b",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 52.778,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62722,
    "c": 0.11384,
    "h": 101.4
  },
  "luminance": 0.24931
}

Semantic roles & 50–950 ramp

primary
#978A2B
secondary
#636EBB
accent
#5BDF49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #978A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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