#978729#978729

#978729 is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.0% C 0.113 H 99.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#978729
RGBrgb(151, 135, 41)
HSLhsl(51, 57%, 38%)
HSVhsv(51, 73%, 59%)
CMYKcmyk(0%, 10.6%, 72.8%, 40.8%)
CIE-LABlab(56.16, -4.83, 50.06)
CIE-LCHlch(56.16, 50.29, 95.51°)
OKLaboklab(62.04% -0.0183 0.1112)
OKLCHoklch(62.04% 0.113 99.3)
XYZxyz(21.8277, 24.0684, 5.5933)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978729 #293997
analogous
#975029 #978729 #709729
triadic
#978729 #299787 #872997
tetradic
#978729 #299750 #293997 #972970
square
#978729 #299750 #293997 #972970
split-complementary
#978729 #297097 #502997
monochromatic
#37310F #675C1C #978729 #C7B236 #D5C565

Accessibility & contrast

On white

3.61
#978729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#978729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978729
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978729#FFFFFF#000000##000000
##9787291.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831A
Deuteranopia (green-blind)
#99892F
Tritanopia (blue-blind)
#A37D74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978729;
/* rgb */ color: rgb(151, 135, 41);
/* oklch */ color: oklch(62.0% 0.113 99.3);
Tailwind
colors: {
  custom: {
    50: '#b9a969',
    500: '#978729',
    950: '#000000',
  },
}
SCSS
$custom: #978729;
$custom-light: #b9a969;
$custom-dark: #000000;
JSON
{
  "hex": "#978729",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 51.273,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62041,
    "c": 0.11264,
    "h": 99.3
  },
  "luminance": 0.24067
}

Semantic roles & 50–950 ramp

primary
#978729
secondary
#616EBB
accent
#5EE147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978729

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

Preview Lab → · Contrast checker → · Palette generator →

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