#978029#978029

#978029 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.5% C 0.107 H 93.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#978029
RGBrgb(151, 128, 41)
HSLhsl(47, 57%, 38%)
HSVhsv(47, 73%, 59%)
CMYKcmyk(0%, 15.2%, 72.8%, 40.8%)
CIE-LABlab(54.22, -0.95, 48.14)
CIE-LCHlch(54.22, 48.15, 91.13°)
OKLaboklab(60.51% -0.0072 0.1071)
OKLCHoklch(60.51% 0.107 93.9)
XYZxyz(20.8830, 22.1789, 5.2784)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978029 #294097
analogous
#974929 #978029 #779729
triadic
#978029 #299780 #802997
tetradic
#978029 #299749 #294097 #972977
square
#978029 #299749 #294097 #972977
split-complementary
#978029 #297797 #492997
monochromatic
#372E0F #67571C #978029 #C7A936 #D5BE65

Accessibility & contrast

On white

3.86
#978029 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#978029 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978029
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978029#FFFFFF#000000##000000
##9780291.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #978029;
/* rgb */ color: rgb(151, 128, 41);
/* oklch */ color: oklch(60.5% 0.107 93.9);
Tailwind
colors: {
  custom: {
    50: '#b9a468',
    500: '#978029',
    950: '#000000',
  },
}
SCSS
$custom: #978029;
$custom-light: #b9a468;
$custom-dark: #000000;
JSON
{
  "hex": "#978029",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 41
  },
  "hsl": {
    "h": 47.455,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60505,
    "c": 0.10733,
    "h": 93.9
  },
  "luminance": 0.22178
}

Semantic roles & 50–950 ramp

primary
#978029
secondary
#6174BB
accent
#67E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978029

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

Preview Lab → · Contrast checker → · Palette generator →

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