#8A931B#8A931B

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

Color values

HEX#8A931B
RGBrgb(138, 147, 27)
HSLhsl(65, 69%, 34%)
HSVhsv(65, 82%, 58%)
CMYKcmyk(6.1%, 0%, 81.6%, 42.4%)
CIE-LABlab(58.37, -17.74, 56.55)
CIE-LCHlch(58.37, 59.27, 107.41°)
OKLaboklab(63.5% -0.055 0.1228)
OKLCHoklch(63.5% 0.135 114.1)
XYZxyz(21.1134, 26.3503, 5.0106)
Luminance0.2635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A931B #241B93
analogous
#93601B #8A931B #4E931B
triadic
#8A931B #1B8A93 #931B8A
tetradic
#8A931B #1B9360 #241B93 #931B4E
square
#8A931B #1B9360 #241B93 #931B4E
split-complementary
#8A931B #1B4E93 #601B93
monochromatic
#292C08 #595F12 #8A931B #BBC724 #D3DE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8a931b;
/* rgb */ color: rgb(138, 147, 27);
/* oklch */ color: oklch(63.5% 0.135 114.1);
Tailwind
colors: {
  custom: {
    50: '#b0b264',
    500: '#8a931b',
    950: '#000000',
  },
}
SCSS
$custom: #8a931b;
$custom-light: #b0b264;
$custom-dark: #000000;
JSON
{
  "hex": "#8a931b",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 64.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.63504,
    "c": 0.13455,
    "h": 114.1
  },
  "luminance": 0.2635
}

Semantic roles & 50–950 ramp

primary
#8A931B
secondary
#534AC0
accent
#3CEC49
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A931B

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

Preview Lab → · Contrast checker → · Palette generator →

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