#978B29#978B29

#978B29 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.9% C 0.116 H 102.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#978B29
RGBrgb(151, 139, 41)
HSLhsl(53, 57%, 38%)
HSVhsv(53, 73%, 59%)
CMYKcmyk(0%, 7.9%, 72.8%, 40.8%)
CIE-LABlab(57.28, -7.01, 51.16)
CIE-LCHlch(57.28, 51.64, 97.81°)
OKLaboklab(62.93% -0.0245 0.1135)
OKLCHoklch(62.93% 0.116 102.2)
XYZxyz(22.3963, 25.2056, 5.7829)
Luminance0.2520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978B29 #293597
analogous
#975429 #978B29 #6C9729
triadic
#978B29 #29978B #8B2997
tetradic
#978B29 #299754 #293597 #97296C
square
#978B29 #299754 #293597 #97296C
split-complementary
#978B29 #296C97 #542997
monochromatic
#37320F #675F1C #978B29 #C7B736 #D5C965

Accessibility & contrast

On white

3.48
#978B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#978B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978B29
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978B29#FFFFFF#000000##000000
##978B291.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988719
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#A38178
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #978b29;
/* rgb */ color: rgb(151, 139, 41);
/* oklch */ color: oklch(62.9% 0.116 102.2);
Tailwind
colors: {
  custom: {
    50: '#b9ac6a',
    500: '#978b29',
    950: '#000000',
  },
}
SCSS
$custom: #978b29;
$custom-light: #b9ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#978b29",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 53.455,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62929,
    "c": 0.11609,
    "h": 102.2
  },
  "luminance": 0.25205
}

Semantic roles & 50–950 ramp

primary
#978B29
secondary
#616ABB
accent
#58E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #978B29

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

Preview Lab → · Contrast checker → · Palette generator →

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