#979229#979229

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

Color values

HEX#979229
RGBrgb(151, 146, 41)
HSLhsl(57, 57%, 38%)
HSVhsv(57, 73%, 59%)
CMYKcmyk(0%, 3.3%, 72.8%, 40.8%)
CIE-LABlab(59.25, -10.79, 53.08)
CIE-LCHlch(59.25, 54.16, 101.49°)
OKLaboklab(64.5% -0.0351 0.1175)
OKLCHoklch(64.5% 0.123 106.6)
XYZxyz(23.4425, 27.2980, 6.1316)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979229 #292E97
analogous
#975B29 #979229 #659729
triadic
#979229 #299792 #922997
tetradic
#979229 #29975B #292E97 #972965
square
#979229 #29975B #292E97 #972965
split-complementary
#979229 #296597 #5B2997
monochromatic
#37350F #67631C #979229 #C7C136 #D5D065

Accessibility & contrast

On white

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

On black

6.46
#979229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979229
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979229#FFFFFF#000000##000000
##9792291.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C17
Deuteranopia (green-blind)
#A19131
Tritanopia (blue-blind)
#A2887E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #979229;
/* rgb */ color: rgb(151, 146, 41);
/* oklch */ color: oklch(64.5% 0.123 106.6);
Tailwind
colors: {
  custom: {
    50: '#b9b16a',
    500: '#979229',
    950: '#000000',
  },
}
SCSS
$custom: #979229;
$custom-light: #b9b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#979229",
  "rgb": {
    "r": 151,
    "g": 146,
    "b": 41
  },
  "hsl": {
    "h": 57.273,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.645,
    "c": 0.12267,
    "h": 106.6
  },
  "luminance": 0.27297
}

Semantic roles & 50–950 ramp

primary
#979229
secondary
#6165BB
accent
#4EE147
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #979229

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

Preview Lab → · Contrast checker → · Palette generator →

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