#978A2C#978A2C

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

Color values

HEX#978A2C
RGBrgb(151, 138, 44)
HSLhsl(53, 55%, 38%)
HSVhsv(53, 71%, 59%)
CMYKcmyk(0%, 8.6%, 70.9%, 40.8%)
CIE-LABlab(57.02, -6.31, 49.69)
CIE-LCHlch(57.02, 50.09, 97.24°)
OKLaboklab(62.73% -0.0222 0.1109)
OKLCHoklch(62.73% 0.113 101.3)
XYZxyz(22.3066, 24.9391, 6.0211)
Luminance0.2494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978A2C #2C3997
analogous
#97542C #978A2C #6E972C
triadic
#978A2C #2C978A #8A2C97
tetradic
#978A2C #2C9754 #2C3997 #972C6E
square
#978A2C #2C9754 #2C3997 #972C6E
split-complementary
#978A2C #2C6E97 #542C97
monochromatic
#383310 #685F1E #978A2C #C6B53A #D4C76A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978A2C#FFFFFF#000000##000000
##978A2C1.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)
#97861E
Deuteranopia (green-blind)
#9B8B32
Tritanopia (blue-blind)
#A38077
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #978a2c;
/* rgb */ color: rgb(151, 138, 44);
/* oklch */ color: oklch(62.7% 0.113 101.3);
Tailwind
colors: {
  custom: {
    50: '#b9ab6b',
    500: '#978a2c',
    950: '#000000',
  },
}
SCSS
$custom: #978a2c;
$custom-light: #b9ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#978a2c",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 52.71,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6273,
    "c": 0.11313,
    "h": 101.3
  },
  "luminance": 0.24938
}

Semantic roles & 50–950 ramp

primary
#978A2C
secondary
#656FBA
accent
#5CDE4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #978A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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