#928B1F#928B1F

#928B1F is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.4% C 0.123 H 105.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#928B1F
RGBrgb(146, 139, 31)
HSLhsl(56, 65%, 35%)
HSVhsv(56, 79%, 57%)
CMYKcmyk(0%, 4.8%, 78.8%, 42.7%)
CIE-LABlab(56.76, -9.74, 54.14)
CIE-LCHlch(56.76, 55.01, 100.20°)
OKLaboklab(62.39% -0.0329 0.1181)
OKLCHoklch(62.39% 0.123 105.6)
XYZxyz(21.3349, 24.6760, 4.9352)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#928B1F #1F2692
analogous
#92521F #928B1F #60921F
triadic
#928B1F #1F928B #8B1F92
tetradic
#928B1F #1F9252 #1F2692 #921F60
square
#928B1F #1F9252 #1F2692 #921F60
split-complementary
#928B1F #1F6092 #521F92
monochromatic
#2D2B0A #605B14 #928B1F #C4BB2A #DAD251

Accessibility & contrast

On white

3.54
#928B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#928B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #928B1F
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##928B1F#FFFFFF#000000##000000
##928B1F1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988603
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#9D8177
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #928b1f;
/* rgb */ color: rgb(146, 139, 31);
/* oklch */ color: oklch(62.4% 0.123 105.6);
Tailwind
colors: {
  custom: {
    50: '#b6ac65',
    500: '#928b1f',
    950: '#000000',
  },
}
SCSS
$custom: #928b1f;
$custom-light: #b6ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#928b1f",
  "rgb": {
    "r": 146,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 56.348,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62389,
    "c": 0.12254,
    "h": 105.6
  },
  "luminance": 0.24675
}

Semantic roles & 50–950 ramp

primary
#928B1F
secondary
#5056BD
accent
#4AE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #928B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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