#8A931C#8A931C

#8A931C 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#8A931C
RGBrgb(138, 147, 28)
HSLhsl(65, 68%, 34%)
HSVhsv(65, 81%, 58%)
CMYKcmyk(6.1%, 0%, 81%, 42.4%)
CIE-LABlab(58.37, -17.70, 56.26)
CIE-LCHlch(58.37, 58.98, 107.46°)
OKLaboklab(63.51% -0.0548 0.1224)
OKLCHoklch(63.51% 0.134 114.1)
XYZxyz(21.1252, 26.3550, 5.0726)
Luminance0.2636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A931C #251C93
analogous
#93611C #8A931C #4F931C
triadic
#8A931C #1C8A93 #931C8A
tetradic
#8A931C #1C9361 #251C93 #931C4F
square
#8A931C #1C9361 #251C93 #931C4F
split-complementary
#8A931C #1C4F93 #611C93
monochromatic
#292C08 #5A6012 #8A931C #BAC626 #D2DD4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A931C#FFFFFF#000000##000000
##8A931C1.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: #8a931c;
/* rgb */ color: rgb(138, 147, 28);
/* oklch */ color: oklch(63.5% 0.134 114.1);
Tailwind
colors: {
  custom: {
    50: '#b0b264',
    500: '#8a931c',
    950: '#000000',
  },
}
SCSS
$custom: #8a931c;
$custom-light: #b0b264;
$custom-dark: #000000;
JSON
{
  "hex": "#8a931c",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 64.538,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63509,
    "c": 0.13408,
    "h": 114.1
  },
  "luminance": 0.26355
}

Semantic roles & 50–950 ramp

primary
#8A931C
secondary
#544CBF
accent
#3DEB4A
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A931C

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

Preview Lab → · Contrast checker → · Palette generator →

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