#969217#969217

#969217 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.3% C 0.132 H 107.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#969217
RGBrgb(150, 146, 23)
HSLhsl(58, 73%, 34%)
HSVhsv(58, 85%, 59%)
CMYKcmyk(0%, 2.7%, 84.7%, 41.2%)
CIE-LABlab(59.07, -11.95, 58.63)
CIE-LCHlch(59.07, 59.84, 101.52°)
OKLaboklab(64.31% -0.0399 0.126)
OKLCHoklch(64.31% 0.132 107.6)
XYZxyz(23.0122, 27.1045, 4.8300)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#969217 #171B96
analogous
#965317 #969217 #5B9617
triadic
#969217 #179692 #921796
tetradic
#969217 #179653 #171B96 #96175B
square
#969217 #179653 #171B96 #96175B
split-complementary
#969217 #175B96 #531796
monochromatic
#2C2B07 #615E0F #969217 #CBC61F #E2DE45

Accessibility & contrast

On white

3.27
#969217 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#969217 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #969217
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##969217#FFFFFF#000000##000000
##9692171.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A19023
Tritanopia (blue-blind)
#A2887C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #969217;
/* rgb */ color: rgb(150, 146, 23);
/* oklch */ color: oklch(64.3% 0.132 107.6);
Tailwind
colors: {
  custom: {
    50: '#b9b162',
    500: '#969217',
    950: '#000000',
  },
}
SCSS
$custom: #969217;
$custom-light: #b9b162;
$custom-dark: #000000;
JSON
{
  "hex": "#969217",
  "rgb": {
    "r": 150,
    "g": 146,
    "b": 23
  },
  "hsl": {
    "h": 58.11,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.64308,
    "c": 0.13218,
    "h": 107.6
  },
  "luminance": 0.27104
}

Semantic roles & 50–950 ramp

primary
#969217
secondary
#4549C3
accent
#3EF038
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #969217

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

Preview Lab → · Contrast checker → · Palette generator →

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