#978C2E#978C2E

#978C2E is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.2% C 0.113 H 102.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#978C2E
RGBrgb(151, 140, 46)
HSLhsl(54, 53%, 39%)
HSVhsv(54, 70%, 59%)
CMYKcmyk(0%, 7.3%, 69.5%, 40.8%)
CIE-LABlab(57.59, -7.29, 49.44)
CIE-LCHlch(57.59, 49.98, 98.38°)
OKLaboklab(63.19% -0.0247 0.1108)
OKLCHoklch(63.19% 0.113 102.6)
XYZxyz(22.6347, 25.5337, 6.3205)
Luminance0.2553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978C2E #2E3997
analogous
#97572E #978C2E #6D972E
triadic
#978C2E #2E978C #8C2E97
tetradic
#978C2E #2E9757 #2E3997 #972E6D
square
#978C2E #2E9757 #2E3997 #972E6D
split-complementary
#978C2E #2E6D97 #572E97
monochromatic
#393511 #686120 #978C2E #C4B63E #D2C86D

Accessibility & contrast

On white

3.44
#978C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#978C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978C2E
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978C2E#FFFFFF#000000##000000
##978C2E1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998821
Deuteranopia (green-blind)
#9C8D34
Tritanopia (blue-blind)
#A28279
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978c2e;
/* rgb */ color: rgb(151, 140, 46);
/* oklch */ color: oklch(63.2% 0.113 102.6);
Tailwind
colors: {
  custom: {
    50: '#b9ad6c',
    500: '#978c2e',
    950: '#000000',
  },
}
SCSS
$custom: #978c2e;
$custom-light: #b9ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#978c2e",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 53.714,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63192,
    "c": 0.11349,
    "h": 102.6
  },
  "luminance": 0.25533
}

Semantic roles & 50–950 ramp

primary
#978C2E
secondary
#6770BA
accent
#5ADD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #978C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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