#8B931F#8B931F

#8B931F is a light, vivid yellow. Relative luminance 0.265; OKLCH L 63.6% C 0.132 H 113.7°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8B931F
RGBrgb(139, 147, 31)
HSLhsl(64, 65%, 35%)
HSVhsv(64, 79%, 58%)
CMYKcmyk(5.4%, 0%, 78.9%, 42.4%)
CIE-LABlab(58.47, -17.14, 55.46)
CIE-LCHlch(58.47, 58.05, 107.17°)
OKLaboklab(63.61% -0.0531 0.1212)
OKLCHoklch(63.61% 0.132 113.7)
XYZxyz(21.3292, 26.4558, 5.2790)
Luminance0.2646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B931F #271F93
analogous
#93611F #8B931F #51931F
triadic
#8B931F #1F8B93 #931F8B
tetradic
#8B931F #1F9361 #271F93 #931F51
square
#8B931F #1F9361 #271F93 #931F51
split-complementary
#8B931F #1F5193 #611F93
monochromatic
#2B2E0A #5B6014 #8B931F #BBC62A #D1DA52

Accessibility & contrast

On white

3.34
#8B931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#8B931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B931F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B931F#FFFFFF#000000##000000
##8B931F1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C00
Deuteranopia (green-blind)
#9E8E2A
Tritanopia (blue-blind)
#958A7E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8b931f;
/* rgb */ color: rgb(139, 147, 31);
/* oklch */ color: oklch(63.6% 0.132 113.7);
Tailwind
colors: {
  custom: {
    50: '#b0b265',
    500: '#8b931f',
    950: '#000000',
  },
}
SCSS
$custom: #8b931f;
$custom-light: #b0b265;
$custom-dark: #000000;
JSON
{
  "hex": "#8b931f",
  "rgb": {
    "r": 139,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 64.138,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63609,
    "c": 0.13229,
    "h": 113.7
  },
  "luminance": 0.26455
}

Semantic roles & 50–950 ramp

primary
#8B931F
secondary
#5850BE
accent
#40E84B
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B931F

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

Preview Lab → · Contrast checker → · Palette generator →

#8B931F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva