#978129#978129

#978129 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.7% C 0.108 H 94.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#978129
RGBrgb(151, 129, 41)
HSLhsl(48, 57%, 38%)
HSVhsv(48, 73%, 59%)
CMYKcmyk(0%, 14.6%, 72.8%, 40.8%)
CIE-LABlab(54.49, -1.51, 48.41)
CIE-LCHlch(54.49, 48.44, 91.78°)
OKLaboklab(60.72% -0.0088 0.1077)
OKLCHoklch(60.72% 0.108 94.7)
XYZxyz(21.0141, 22.4411, 5.3221)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978129 #293F97
analogous
#974A29 #978129 #769729
triadic
#978129 #299781 #812997
tetradic
#978129 #29974A #293F97 #972976
square
#978129 #29974A #293F97 #972976
split-complementary
#978129 #297697 #4A2997
monochromatic
#372F0F #67581C #978129 #C7AA36 #D5BF65

Accessibility & contrast

On white

3.83
#978129 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#978129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978129
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978129#FFFFFF#000000##000000
##9781291.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E1C
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#A3776F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #978129;
/* rgb */ color: rgb(151, 129, 41);
/* oklch */ color: oklch(60.7% 0.108 94.7);
Tailwind
colors: {
  custom: {
    50: '#b9a569',
    500: '#978129',
    950: '#000000',
  },
}
SCSS
$custom: #978129;
$custom-light: #b9a569;
$custom-dark: #000000;
JSON
{
  "hex": "#978129",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 48,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60723,
    "c": 0.10803,
    "h": 94.7
  },
  "luminance": 0.2244
}

Semantic roles & 50–950 ramp

primary
#978129
secondary
#6173BB
accent
#66E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978129

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

Preview Lab → · Contrast checker → · Palette generator →

#978129 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva