#8D931F#8D931F

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

Color values

HEX#8D931F
RGBrgb(141, 147, 31)
HSLhsl(63, 65%, 35%)
HSVhsv(63, 79%, 58%)
CMYKcmyk(4.1%, 0%, 78.9%, 42.4%)
CIE-LABlab(58.63, -16.25, 55.67)
CIE-LCHlch(58.63, 57.99, 106.27°)
OKLaboklab(63.78% -0.0507 0.1215)
OKLCHoklch(63.78% 0.132 112.7)
XYZxyz(21.6663, 26.6296, 5.2948)
Luminance0.2663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D931F #251F93
analogous
#935F1F #8D931F #53931F
triadic
#8D931F #1F8D93 #931F8D
tetradic
#8D931F #1F935F #251F93 #931F53
square
#8D931F #1F935F #251F93 #931F53
split-complementary
#8D931F #1F5393 #5F1F93
monochromatic
#2C2E0A #5D6014 #8D931F #BDC62A #D3DA52

Accessibility & contrast

On white

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

On black

6.33
#8D931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D931F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D931F#FFFFFF#000000##000000
##8D931F1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d931f;
/* rgb */ color: rgb(141, 147, 31);
/* oklch */ color: oklch(63.8% 0.132 112.7);
Tailwind
colors: {
  custom: {
    50: '#b2b266',
    500: '#8d931f',
    950: '#000000',
  },
}
SCSS
$custom: #8d931f;
$custom-light: #b2b266;
$custom-dark: #000000;
JSON
{
  "hex": "#8d931f",
  "rgb": {
    "r": 141,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 63.103,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6378,
    "c": 0.1317,
    "h": 112.7
  },
  "luminance": 0.26629
}

Semantic roles & 50–950 ramp

primary
#8D931F
secondary
#5650BE
accent
#40E848
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D931F

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

Preview Lab → · Contrast checker → · Palette generator →

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