#8A931E#8A931E

#8A931E is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.5% C 0.133 H 114.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8A931E
RGBrgb(138, 147, 30)
HSLhsl(65, 66%, 35%)
HSVhsv(65, 80%, 58%)
CMYKcmyk(6.1%, 0%, 79.6%, 42.4%)
CIE-LABlab(58.38, -17.62, 55.67)
CIE-LCHlch(58.38, 58.39, 107.57°)
OKLaboklab(63.52% -0.0545 0.1215)
OKLCHoklch(63.52% 0.133 114.2)
XYZxyz(21.1499, 26.3649, 5.2028)
Luminance0.2636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A931E #271E93
analogous
#93611E #8A931E #50931E
triadic
#8A931E #1E8A93 #931E8A
tetradic
#8A931E #1E9361 #271E93 #931E50
square
#8A931E #1E9361 #271E93 #931E50
split-complementary
#8A931E #1E5093 #611E93
monochromatic
#2B2D09 #5A6014 #8A931E #BAC628 #D1DB50

Accessibility & contrast

On white

3.35
#8A931E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#8A931E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A931E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A931E#FFFFFF#000000##000000
##8A931E1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9E8D29
Tritanopia (blue-blind)
#948A7E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a931e;
/* rgb */ color: rgb(138, 147, 30);
/* oklch */ color: oklch(63.5% 0.133 114.2);
Tailwind
colors: {
  custom: {
    50: '#b0b265',
    500: '#8a931e',
    950: '#000000',
  },
}
SCSS
$custom: #8a931e;
$custom-light: #b0b265;
$custom-dark: #000000;
JSON
{
  "hex": "#8a931e",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 30
  },
  "hsl": {
    "h": 64.615,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63519,
    "c": 0.13311,
    "h": 114.2
  },
  "luminance": 0.26364
}

Semantic roles & 50–950 ramp

primary
#8A931E
secondary
#574FBE
accent
#3FE94C
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A931E

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

Preview Lab → · Contrast checker → · Palette generator →

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