#979223#979223

#979223 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#979223
RGBrgb(151, 146, 35)
HSLhsl(57, 62%, 36%)
HSVhsv(57, 77%, 59%)
CMYKcmyk(0%, 3.3%, 76.8%, 40.8%)
CIE-LABlab(59.21, -11.07, 55.21)
CIE-LCHlch(59.21, 56.30, 101.33°)
OKLaboklab(64.46% -0.0365 0.1209)
OKLCHoklch(64.46% 0.126 106.8)
XYZxyz(23.3457, 27.2593, 5.6216)
Luminance0.2726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979223 #232897
analogous
#975823 #979223 #629723
triadic
#979223 #239792 #922397
tetradic
#979223 #239758 #232897 #972362
square
#979223 #239758 #232897 #972362
split-complementary
#979223 #236297 #582397
monochromatic
#34320C #656217 #979223 #C9C22F #D9D45B

Accessibility & contrast

On white

3.26
#979223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##979223#FFFFFF#000000##000000
##9792231.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #979223;
/* rgb */ color: rgb(151, 146, 35);
/* oklch */ color: oklch(64.5% 0.126 106.8);
Tailwind
colors: {
  custom: {
    50: '#b9b167',
    500: '#979223',
    950: '#000000',
  },
}
SCSS
$custom: #979223;
$custom-light: #b9b167;
$custom-dark: #000000;
JSON
{
  "hex": "#979223",
  "rgb": {
    "r": 151,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 57.414,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6446,
    "c": 0.12629,
    "h": 106.8
  },
  "luminance": 0.27258
}

Semantic roles & 50–950 ramp

primary
#979223
secondary
#585DBE
accent
#49E542
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #979223

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

Preview Lab → · Contrast checker → · Palette generator →

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