#928A1F#928A1F

#928A1F is a light, vivid yellow. Relative luminance 0.244; OKLCH L 62.2% C 0.122 H 104.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#928A1F
RGBrgb(146, 138, 31)
HSLhsl(56, 65%, 35%)
HSVhsv(56, 79%, 57%)
CMYKcmyk(0%, 5.5%, 78.8%, 42.7%)
CIE-LABlab(56.47, -9.20, 53.88)
CIE-LCHlch(56.47, 54.66, 99.69°)
OKLaboklab(62.16% -0.0314 0.1175)
OKLCHoklch(62.16% 0.122 104.9)
XYZxyz(21.1908, 24.3877, 4.8871)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#928A1F #1F2792
analogous
#92511F #928A1F #61921F
triadic
#928A1F #1F928A #8A1F92
tetradic
#928A1F #1F9251 #1F2792 #921F61
square
#928A1F #1F9251 #1F2792 #921F61
split-complementary
#928A1F #1F6192 #511F92
monochromatic
#2D2B0A #605A14 #928A1F #C4BA2A #DAD151

Accessibility & contrast

On white

3.57
#928A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#928A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #928A1F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##928A1F#FFFFFF#000000##000000
##928A1F1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978504
Deuteranopia (green-blind)
#9A8928
Tritanopia (blue-blind)
#9D8076
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #928a1f;
/* rgb */ color: rgb(146, 138, 31);
/* oklch */ color: oklch(62.2% 0.122 104.9);
Tailwind
colors: {
  custom: {
    50: '#b6ab64',
    500: '#928a1f',
    950: '#000000',
  },
}
SCSS
$custom: #928a1f;
$custom-light: #b6ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#928a1f",
  "rgb": {
    "r": 146,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 55.826,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62163,
    "c": 0.12162,
    "h": 104.9
  },
  "luminance": 0.24387
}

Semantic roles & 50–950 ramp

primary
#928A1F
secondary
#5057BD
accent
#4CE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #928A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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