#978829#978829

#978829 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.3% C 0.113 H 100.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#978829
RGBrgb(151, 136, 41)
HSLhsl(52, 57%, 38%)
HSVhsv(52, 73%, 59%)
CMYKcmyk(0%, 9.9%, 72.8%, 40.8%)
CIE-LABlab(56.44, -5.38, 50.33)
CIE-LCHlch(56.44, 50.62, 96.10°)
OKLaboklab(62.26% -0.0198 0.1117)
OKLCHoklch(62.26% 0.113 100.1)
XYZxyz(21.9679, 24.3487, 5.6400)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978829 #293897
analogous
#975129 #978829 #6F9729
triadic
#978829 #299788 #882997
tetradic
#978829 #299751 #293897 #97296F
square
#978829 #299751 #293897 #97296F
split-complementary
#978829 #296F97 #512997
monochromatic
#37310F #675D1C #978829 #C7B336 #D5C665

Accessibility & contrast

On white

3.58
#978829 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#978829 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978829
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978829#FFFFFF#000000##000000
##9788291.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841A
Deuteranopia (green-blind)
#998A2F
Tritanopia (blue-blind)
#A37E75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978829;
/* rgb */ color: rgb(151, 136, 41);
/* oklch */ color: oklch(62.3% 0.113 100.1);
Tailwind
colors: {
  custom: {
    50: '#b9aa69',
    500: '#978829',
    950: '#000000',
  },
}
SCSS
$custom: #978829;
$custom-light: #b9aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#978829",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 41
  },
  "hsl": {
    "h": 51.818,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62262,
    "c": 0.11348,
    "h": 100.1
  },
  "luminance": 0.24348
}

Semantic roles & 50–950 ramp

primary
#978829
secondary
#616DBB
accent
#5CE147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #978829

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

Preview Lab → · Contrast checker → · Palette generator →

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