#979224#979224

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

Color values

HEX#979224
RGBrgb(151, 146, 36)
HSLhsl(57, 61%, 37%)
HSVhsv(57, 76%, 59%)
CMYKcmyk(0%, 3.3%, 76.2%, 40.8%)
CIE-LABlab(59.22, -11.02, 54.87)
CIE-LCHlch(59.22, 55.96, 101.36°)
OKLaboklab(64.47% -0.0363 0.1204)
OKLCHoklch(64.47% 0.126 106.8)
XYZxyz(23.3608, 27.2653, 5.7009)
Luminance0.2726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979224 #242997
analogous
#975924 #979224 #639724
triadic
#979224 #249792 #922497
tetradic
#979224 #249759 #242997 #972463
square
#979224 #249759 #242997 #972463
split-complementary
#979224 #246397 #592497
monochromatic
#34320C #666218 #979224 #C8C230 #D8D35D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979224#FFFFFF#000000##000000
##9792241.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)
#9F8C0C
Deuteranopia (green-blind)
#A1902D
Tritanopia (blue-blind)
#A2887D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #979224;
/* rgb */ color: rgb(151, 146, 36);
/* oklch */ color: oklch(64.5% 0.126 106.8);
Tailwind
colors: {
  custom: {
    50: '#b9b168',
    500: '#979224',
    950: '#000000',
  },
}
SCSS
$custom: #979224;
$custom-light: #b9b168;
$custom-dark: #000000;
JSON
{
  "hex": "#979224",
  "rgb": {
    "r": 151,
    "g": 146,
    "b": 36
  },
  "hsl": {
    "h": 57.391,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64466,
    "c": 0.12573,
    "h": 106.8
  },
  "luminance": 0.27264
}

Semantic roles & 50–950 ramp

primary
#979224
secondary
#5A5EBD
accent
#4AE543
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #979224

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

Preview Lab → · Contrast checker → · Palette generator →

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