#978025#978025

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

Color values

HEX#978025
RGBrgb(151, 128, 37)
HSLhsl(48, 61%, 37%)
HSVhsv(48, 75%, 59%)
CMYKcmyk(0%, 15.2%, 75.5%, 40.8%)
CIE-LABlab(54.19, -1.15, 49.73)
CIE-LCHlch(54.19, 49.75, 91.32°)
OKLaboklab(60.47% -0.0083 0.1097)
OKLCHoklch(60.47% 0.11 94.3)
XYZxyz(20.8167, 22.1524, 4.9293)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978025 #253C97
analogous
#974725 #978025 #759725
triadic
#978025 #259780 #802597
tetradic
#978025 #259747 #253C97 #972575
square
#978025 #259747 #253C97 #972575
split-complementary
#978025 #257597 #472597
monochromatic
#352D0D #665619 #978025 #C8AA31 #D8BF5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978025#FFFFFF#000000##000000
##9780251.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)
#8E7E16
Deuteranopia (green-blind)
#94852A
Tritanopia (blue-blind)
#A3756E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #978025;
/* rgb */ color: rgb(151, 128, 37);
/* oklch */ color: oklch(60.5% 0.110 94.3);
Tailwind
colors: {
  custom: {
    50: '#b9a466',
    500: '#978025',
    950: '#000000',
  },
}
SCSS
$custom: #978025;
$custom-light: #b9a466;
$custom-dark: #000000;
JSON
{
  "hex": "#978025",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 37
  },
  "hsl": {
    "h": 47.895,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60474,
    "c": 0.10998,
    "h": 94.3
  },
  "luminance": 0.22151
}

Semantic roles & 50–950 ramp

primary
#978025
secondary
#5B6FBD
accent
#64E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978025

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

Preview Lab → · Contrast checker → · Palette generator →

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