#8E931F#8E931F

#8E931F is a light, vivid yellow. Relative luminance 0.267; OKLCH L 63.9% C 0.131 H 112.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8E931F
RGBrgb(142, 147, 31)
HSLhsl(63, 65%, 35%)
HSVhsv(63, 79%, 58%)
CMYKcmyk(3.4%, 0%, 78.9%, 42.4%)
CIE-LABlab(58.71, -15.80, 55.78)
CIE-LCHlch(58.71, 57.97, 105.82°)
OKLaboklab(63.87% -0.0495 0.1217)
OKLCHoklch(63.87% 0.131 112.2)
XYZxyz(21.8371, 26.7177, 5.3028)
Luminance0.2672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E931F #241F93
analogous
#935E1F #8E931F #54931F
triadic
#8E931F #1F8E93 #931F8E
tetradic
#8E931F #1F935E #241F93 #931F54
square
#8E931F #1F935E #241F93 #931F54
split-complementary
#8E931F #1F5493 #5E1F93
monochromatic
#2C2E0A #5D6014 #8E931F #BFC62A #D5DA52

Accessibility & contrast

On white

3.31
#8E931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#8E931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E931F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E931F#FFFFFF#000000##000000
##8E931F1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e931f;
/* rgb */ color: rgb(142, 147, 31);
/* oklch */ color: oklch(63.9% 0.131 112.2);
Tailwind
colors: {
  custom: {
    50: '#b3b266',
    500: '#8e931f',
    950: '#000000',
  },
}
SCSS
$custom: #8e931f;
$custom-light: #b3b266;
$custom-dark: #000000;
JSON
{
  "hex": "#8e931f",
  "rgb": {
    "r": 142,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 62.586,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63866,
    "c": 0.13142,
    "h": 112.2
  },
  "luminance": 0.26717
}

Semantic roles & 50–950 ramp

primary
#8E931F
secondary
#5550BE
accent
#40E847
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E931F

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

Preview Lab → · Contrast checker → · Palette generator →

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