#928D21#928D21

#928D21 is a light, vivid yellow. Relative luminance 0.253; OKLCH L 62.9% C 0.123 H 106.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#928D21
RGBrgb(146, 141, 33)
HSLhsl(57, 63%, 35%)
HSVhsv(57, 77%, 57%)
CMYKcmyk(0%, 3.4%, 77.4%, 42.7%)
CIE-LABlab(57.34, -10.74, 54.00)
CIE-LCHlch(57.34, 55.05, 101.25°)
OKLaboklab(62.86% -0.0355 0.1182)
OKLCHoklch(62.86% 0.123 106.7)
XYZxyz(21.6543, 25.2713, 5.1758)
Luminance0.2527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#928D21 #212692
analogous
#925421 #928D21 #5F9221
triadic
#928D21 #21928D #8D2192
tetradic
#928D21 #219254 #212692 #92215F
square
#928D21 #219254 #212692 #92215F
split-complementary
#928D21 #215F92 #542192
monochromatic
#2E2D0A #605D16 #928D21 #C4BD2C #D9D355

Accessibility & contrast

On white

3.47
#928D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#928D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #928D21
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##928D21#FFFFFF#000000##000000
##928D211.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8707
Deuteranopia (green-blind)
#9C8C2A
Tritanopia (blue-blind)
#9D8379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #928d21;
/* rgb */ color: rgb(146, 141, 33);
/* oklch */ color: oklch(62.9% 0.123 106.7);
Tailwind
colors: {
  custom: {
    50: '#b5ae66',
    500: '#928d21',
    950: '#000000',
  },
}
SCSS
$custom: #928d21;
$custom-light: #b5ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#928d21",
  "rgb": {
    "r": 146,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 57.345,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62855,
    "c": 0.12336,
    "h": 106.7
  },
  "luminance": 0.25271
}

Semantic roles & 50–950 ramp

primary
#928D21
secondary
#5357BC
accent
#49E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #928D21

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

Preview Lab → · Contrast checker → · Palette generator →

#928D21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva