#8A931F#8A931F

#8A931F 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#8A931F
RGBrgb(138, 147, 31)
HSLhsl(65, 65%, 35%)
HSVhsv(65, 79%, 58%)
CMYKcmyk(6.1%, 0%, 78.9%, 42.4%)
CIE-LABlab(58.39, -17.58, 55.36)
CIE-LCHlch(58.39, 58.09, 107.62°)
OKLaboklab(63.53% -0.0543 0.121)
OKLCHoklch(63.53% 0.133 114.2)
XYZxyz(21.1629, 26.3701, 5.2712)
Luminance0.2637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A931F #281F93
analogous
#93621F #8A931F #50931F
triadic
#8A931F #1F8A93 #931F8A
tetradic
#8A931F #1F9362 #281F93 #931F50
square
#8A931F #1F9362 #281F93 #931F50
split-complementary
#8A931F #1F5093 #621F93
monochromatic
#2B2E0A #5B6014 #8A931F #B9C62A #D0DA52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A931F#FFFFFF#000000##000000
##8A931F1.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)
#9E8D2A
Tritanopia (blue-blind)
#948A7E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a931f;
/* rgb */ color: rgb(138, 147, 31);
/* oklch */ color: oklch(63.5% 0.133 114.2);
Tailwind
colors: {
  custom: {
    50: '#b0b265',
    500: '#8a931f',
    950: '#000000',
  },
}
SCSS
$custom: #8a931f;
$custom-light: #b0b265;
$custom-dark: #000000;
JSON
{
  "hex": "#8a931f",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 64.655,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63525,
    "c": 0.1326,
    "h": 114.2
  },
  "luminance": 0.2637
}

Semantic roles & 50–950 ramp

primary
#8A931F
secondary
#5950BE
accent
#40E84D
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A931F

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

Preview Lab → · Contrast checker → · Palette generator →

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