#8E931A#8E931A

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

Color values

HEX#8E931A
RGBrgb(142, 147, 26)
HSLhsl(62, 70%, 34%)
HSVhsv(62, 82%, 58%)
CMYKcmyk(3.4%, 0%, 82.3%, 42.4%)
CIE-LABlab(58.69, -15.99, 57.24)
CIE-LCHlch(58.69, 59.43, 105.60°)
OKLaboklab(63.84% -0.0504 0.1239)
OKLCHoklch(63.84% 0.134 112.2)
XYZxyz(21.7763, 26.6934, 4.9823)
Luminance0.2669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E931A #1F1A93
analogous
#935C1A #8E931A #52931A
triadic
#8E931A #1A8E93 #931A8E
tetradic
#8E931A #1A935C #1F1A93 #931A52
square
#8E931A #1A935C #1F1A93 #931A52
split-complementary
#8E931A #1A5293 #5C1A93
monochromatic
#2A2B08 #5C5F11 #8E931A #C0C723 #D9DF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E931A#FFFFFF#000000##000000
##8E931A1.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)
#9F8E26
Tritanopia (blue-blind)
#98897D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8e931a;
/* rgb */ color: rgb(142, 147, 26);
/* oklch */ color: oklch(63.8% 0.134 112.2);
Tailwind
colors: {
  custom: {
    50: '#b3b263',
    500: '#8e931a',
    950: '#000000',
  },
}
SCSS
$custom: #8e931a;
$custom-light: #b3b263;
$custom-dark: #000000;
JSON
{
  "hex": "#8e931a",
  "rgb": {
    "r": 142,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 62.479,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.6384,
    "c": 0.1338,
    "h": 112.2
  },
  "luminance": 0.26693
}

Semantic roles & 50–950 ramp

primary
#8E931A
secondary
#4D48C0
accent
#3BED42
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E931A

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

Preview Lab → · Contrast checker → · Palette generator →

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