#978A2E#978A2E

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

Color values

HEX#978A2E
RGBrgb(151, 138, 46)
HSLhsl(53, 53%, 39%)
HSVhsv(53, 70%, 59%)
CMYKcmyk(0%, 8.6%, 69.5%, 40.8%)
CIE-LABlab(57.03, -6.20, 48.87)
CIE-LCHlch(57.03, 49.26, 97.23°)
OKLaboklab(62.75% -0.0216 0.1096)
OKLCHoklch(62.75% 0.112 101.2)
XYZxyz(22.3451, 24.9545, 6.2239)
Luminance0.2495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978A2E #2E3B97
analogous
#97552E #978A2E #6F972E
triadic
#978A2E #2E978A #8A2E97
tetradic
#978A2E #2E9755 #2E3B97 #972E6F
square
#978A2E #2E9755 #2E3B97 #972E6F
split-complementary
#978A2E #2E6F97 #552E97
monochromatic
#393411 #685F20 #978A2E #C4B43E #D2C66D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978A2E#FFFFFF#000000##000000
##978A2E1.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)
#978621
Deuteranopia (green-blind)
#9B8B34
Tritanopia (blue-blind)
#A38077
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #978a2e;
/* rgb */ color: rgb(151, 138, 46);
/* oklch */ color: oklch(62.7% 0.112 101.2);
Tailwind
colors: {
  custom: {
    50: '#b9ab6c',
    500: '#978a2e',
    950: '#000000',
  },
}
SCSS
$custom: #978a2e;
$custom-light: #b9ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#978a2e",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 52.571,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62747,
    "c": 0.11168,
    "h": 101.2
  },
  "luminance": 0.24954
}

Semantic roles & 50–950 ramp

primary
#978A2E
secondary
#6771BA
accent
#5DDD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #978A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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