#96921F#96921F

#96921F is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.3% C 0.129 H 107.4°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#96921F
RGBrgb(150, 146, 31)
HSLhsl(58, 66%, 35%)
HSVhsv(58, 79%, 59%)
CMYKcmyk(0%, 2.7%, 79.3%, 41.2%)
CIE-LABlab(59.11, -11.68, 56.39)
CIE-LCHlch(59.11, 57.58, 101.70°)
OKLaboklab(64.35% -0.0385 0.1227)
OKLCHoklch(64.35% 0.129 107.4)
XYZxyz(23.1048, 27.1415, 5.3178)
Luminance0.2714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96921F #1F2396
analogous
#96561F #96921F #5E961F
triadic
#96921F #1F9692 #921F96
tetradic
#96921F #1F9656 #1F2396 #961F5E
square
#96921F #1F9656 #1F2396 #961F5E
split-complementary
#96921F #1F5E96 #561F96
monochromatic
#312F0A #636115 #96921F #C9C329 #DCD754

Accessibility & contrast

On white

3.27
#96921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#96921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96921F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96921F#FFFFFF#000000##000000
##96921F1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96921f;
/* rgb */ color: rgb(150, 146, 31);
/* oklch */ color: oklch(64.3% 0.129 107.4);
Tailwind
colors: {
  custom: {
    50: '#b8b166',
    500: '#96921f',
    950: '#000000',
  },
}
SCSS
$custom: #96921f;
$custom-light: #b8b166;
$custom-dark: #000000;
JSON
{
  "hex": "#96921f",
  "rgb": {
    "r": 150,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 57.983,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64346,
    "c": 0.12859,
    "h": 107.4
  },
  "luminance": 0.27141
}

Semantic roles & 50–950 ramp

primary
#96921F
secondary
#5255BF
accent
#45E93F
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #96921F

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

Preview Lab → · Contrast checker → · Palette generator →

#96921F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva