#979125#979125

#979125 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.2% C 0.124 H 106.2°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#979125
RGBrgb(151, 145, 37)
HSLhsl(57, 61%, 37%)
HSVhsv(57, 75%, 59%)
CMYKcmyk(0%, 4%, 75.5%, 40.8%)
CIE-LABlab(58.94, -10.44, 54.26)
CIE-LCHlch(58.94, 55.25, 100.89°)
OKLaboklab(64.25% -0.0345 0.1193)
OKLCHoklch(64.25% 0.124 106.2)
XYZxyz(23.2228, 26.9645, 5.7313)
Luminance0.2696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979125 #252B97
analogous
#975825 #979125 #649725
triadic
#979125 #259791 #912597
tetradic
#979125 #259758 #252B97 #972564
square
#979125 #259758 #252B97 #972564
split-complementary
#979125 #256497 #582597
monochromatic
#35330D #666219 #979125 #C8C031 #D8D15F

Accessibility & contrast

On white

3.28
#979125 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#979125 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979125
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979125#FFFFFF#000000##000000
##9791251.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B0F
Deuteranopia (green-blind)
#A0902D
Tritanopia (blue-blind)
#A2877C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #979125;
/* rgb */ color: rgb(151, 145, 37);
/* oklch */ color: oklch(64.2% 0.124 106.2);
Tailwind
colors: {
  custom: {
    50: '#b9b068',
    500: '#979125',
    950: '#000000',
  },
}
SCSS
$custom: #979125;
$custom-light: #b9b068;
$custom-dark: #000000;
JSON
{
  "hex": "#979125",
  "rgb": {
    "r": 151,
    "g": 145,
    "b": 37
  },
  "hsl": {
    "h": 56.842,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64247,
    "c": 0.12417,
    "h": 106.2
  },
  "luminance": 0.26964
}

Semantic roles & 50–950 ramp

primary
#979125
secondary
#5B60BD
accent
#4CE444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #979125

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

Preview Lab → · Contrast checker → · Palette generator →

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