#979225#979225

#979225 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.5% C 0.125 H 106.7°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#979225
RGBrgb(151, 146, 37)
HSLhsl(57, 61%, 37%)
HSVhsv(57, 75%, 59%)
CMYKcmyk(0%, 3.3%, 75.5%, 40.8%)
CIE-LABlab(59.22, -10.98, 54.52)
CIE-LCHlch(59.22, 55.62, 101.38°)
OKLaboklab(64.47% -0.036 0.1198)
OKLCHoklch(64.47% 0.125 106.7)
XYZxyz(23.3763, 27.2715, 5.7825)
Luminance0.2727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979225 #252A97
analogous
#975925 #979225 #639725
triadic
#979225 #259792 #922597
tetradic
#979225 #259759 #252A97 #972563
square
#979225 #259759 #252A97 #972563
split-complementary
#979225 #256397 #592597
monochromatic
#35330D #666219 #979225 #C8C231 #D8D25F

Accessibility & contrast

On white

3.25
#979225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#979225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979225
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979225#FFFFFF#000000##000000
##9792251.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C0E
Deuteranopia (green-blind)
#A1902D
Tritanopia (blue-blind)
#A2887D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #979225;
/* rgb */ color: rgb(151, 146, 37);
/* oklch */ color: oklch(64.5% 0.125 106.7);
Tailwind
colors: {
  custom: {
    50: '#b9b168',
    500: '#979225',
    950: '#000000',
  },
}
SCSS
$custom: #979225;
$custom-light: #b9b168;
$custom-dark: #000000;
JSON
{
  "hex": "#979225",
  "rgb": {
    "r": 151,
    "g": 146,
    "b": 37
  },
  "hsl": {
    "h": 57.368,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64473,
    "c": 0.12514,
    "h": 106.7
  },
  "luminance": 0.27271
}

Semantic roles & 50–950 ramp

primary
#979225
secondary
#5B5FBD
accent
#4BE444
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #979225

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

Preview Lab → · Contrast checker → · Palette generator →

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