#978026#978026

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

Color values

HEX#978026
RGBrgb(151, 128, 38)
HSLhsl(48, 60%, 37%)
HSVhsv(48, 75%, 59%)
CMYKcmyk(0%, 15.2%, 74.8%, 40.8%)
CIE-LABlab(54.20, -1.10, 49.34)
CIE-LCHlch(54.20, 49.36, 91.28°)
OKLaboklab(60.48% -0.008 0.1091)
OKLCHoklch(60.48% 0.109 94.2)
XYZxyz(20.8326, 22.1588, 5.0131)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978026 #263D97
analogous
#974826 #978026 #759726
triadic
#978026 #269780 #802697
tetradic
#978026 #269748 #263D97 #972675
square
#978026 #269748 #263D97 #972675
split-complementary
#978026 #267597 #482697
monochromatic
#352D0D #66571A #978026 #C8A932 #D7BF60

Accessibility & contrast

On white

3.87
#978026 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#978026 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978026
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978026#FFFFFF#000000##000000
##9780261.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E17
Deuteranopia (green-blind)
#94852B
Tritanopia (blue-blind)
#A3756E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #978026;
/* rgb */ color: rgb(151, 128, 38);
/* oklch */ color: oklch(60.5% 0.109 94.2);
Tailwind
colors: {
  custom: {
    50: '#b9a467',
    500: '#978026',
    950: '#000000',
  },
}
SCSS
$custom: #978026;
$custom-light: #b9a467;
$custom-dark: #000000;
JSON
{
  "hex": "#978026",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 38
  },
  "hsl": {
    "h": 47.788,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60481,
    "c": 0.10934,
    "h": 94.2
  },
  "luminance": 0.22158
}

Semantic roles & 50–950 ramp

primary
#978026
secondary
#5C70BC
accent
#65E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978026

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

Preview Lab → · Contrast checker → · Palette generator →

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