#8A931D#8A931D

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

Color values

HEX#8A931D
RGBrgb(138, 147, 29)
HSLhsl(65, 67%, 35%)
HSVhsv(65, 80%, 58%)
CMYKcmyk(6.1%, 0%, 80.3%, 42.4%)
CIE-LABlab(58.38, -17.66, 55.97)
CIE-LCHlch(58.38, 58.69, 107.51°)
OKLaboklab(63.51% -0.0546 0.1219)
OKLCHoklch(63.51% 0.134 114.1)
XYZxyz(21.1374, 26.3598, 5.1366)
Luminance0.2636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A931D #261D93
analogous
#93611D #8A931D #4F931D
triadic
#8A931D #1D8A93 #931D8A
tetradic
#8A931D #1D9361 #261D93 #931D4F
square
#8A931D #1D9361 #261D93 #931D4F
split-complementary
#8A931D #1D4F93 #611D93
monochromatic
#2A2D09 #5A6013 #8A931D #BAC627 #D1DC4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A931D#FFFFFF#000000##000000
##8A931D1.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)
#9E8D28
Tritanopia (blue-blind)
#948A7D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a931d;
/* rgb */ color: rgb(138, 147, 29);
/* oklch */ color: oklch(63.5% 0.134 114.1);
Tailwind
colors: {
  custom: {
    50: '#b0b265',
    500: '#8a931d',
    950: '#000000',
  },
}
SCSS
$custom: #8a931d;
$custom-light: #b0b265;
$custom-dark: #000000;
JSON
{
  "hex": "#8a931d",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 29
  },
  "hsl": {
    "h": 64.576,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.63514,
    "c": 0.13361,
    "h": 114.1
  },
  "luminance": 0.26359
}

Semantic roles & 50–950 ramp

primary
#8A931D
secondary
#564DBF
accent
#3EEA4B
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A931D

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

Preview Lab → · Contrast checker → · Palette generator →

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