#8D931B#8D931B

#8D931B is a light, vivid yellow. Relative luminance 0.266; OKLCH L 63.8% C 0.134 H 112.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8D931B
RGBrgb(141, 147, 27)
HSLhsl(63, 69%, 34%)
HSVhsv(63, 82%, 58%)
CMYKcmyk(4.1%, 0%, 81.6%, 42.4%)
CIE-LABlab(58.61, -16.40, 56.86)
CIE-LCHlch(58.61, 59.18, 106.09°)
OKLaboklab(63.76% -0.0515 0.1233)
OKLCHoklch(63.76% 0.134 112.7)
XYZxyz(21.6168, 26.6098, 5.0342)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D931B #211B93
analogous
#935D1B #8D931B #51931B
triadic
#8D931B #1B8D93 #931B8D
tetradic
#8D931B #1B935D #211B93 #931B51
square
#8D931B #1B935D #211B93 #931B51
split-complementary
#8D931B #1B5193 #5D1B93
monochromatic
#2A2C08 #5B5F12 #8D931B #BFC724 #D6DE4B

Accessibility & contrast

On white

3.32
#8D931B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#8D931B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D931B
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D931B#FFFFFF#000000##000000
##8D931B1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9F8E27
Tritanopia (blue-blind)
#978A7D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d931b;
/* rgb */ color: rgb(141, 147, 27);
/* oklch */ color: oklch(63.8% 0.134 112.7);
Tailwind
colors: {
  custom: {
    50: '#b2b264',
    500: '#8d931b',
    950: '#000000',
  },
}
SCSS
$custom: #8d931b;
$custom-light: #b2b264;
$custom-dark: #000000;
JSON
{
  "hex": "#8d931b",
  "rgb": {
    "r": 141,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 63,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.63759,
    "c": 0.13364,
    "h": 112.7
  },
  "luminance": 0.26609
}

Semantic roles & 50–950 ramp

primary
#8D931B
secondary
#504AC0
accent
#3CEC45
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D931B

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

Preview Lab → · Contrast checker → · Palette generator →

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