#8A901B#8A901B

#8A901B is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.8% C 0.131 H 112.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8A901B
RGBrgb(138, 144, 27)
HSLhsl(63, 68%, 34%)
HSVhsv(63, 81%, 56%)
CMYKcmyk(4.2%, 0%, 81.3%, 43.5%)
CIE-LABlab(57.49, -16.18, 55.78)
CIE-LCHlch(57.49, 58.08, 106.17°)
OKLaboklab(62.8% -0.0507 0.1211)
OKLCHoklch(62.8% 0.131 112.7)
XYZxyz(20.6530, 25.4294, 4.8571)
Luminance0.2543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A901B #211B90
analogous
#905B1B #8A901B #4F901B
triadic
#8A901B #1B8A90 #901B8A
tetradic
#8A901B #1B905B #211B90 #901B4F
square
#8A901B #1B905B #211B90 #901B4F
split-complementary
#8A901B #1B4F90 #5B1B90
monochromatic
#272908 #595C11 #8A901B #BBC425 #D5DD49

Accessibility & contrast

On white

3.45
#8A901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8A901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A901B
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A901B#FFFFFF#000000##000000
##8A901B1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#9C8B26
Tritanopia (blue-blind)
#94877B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a901b;
/* rgb */ color: rgb(138, 144, 27);
/* oklch */ color: oklch(62.8% 0.131 112.7);
Tailwind
colors: {
  custom: {
    50: '#b0b063',
    500: '#8a901b',
    950: '#000000',
  },
}
SCSS
$custom: #8a901b;
$custom-light: #b0b063;
$custom-dark: #000000;
JSON
{
  "hex": "#8a901b",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 63.077,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62801,
    "c": 0.13132,
    "h": 112.7
  },
  "luminance": 0.25429
}

Semantic roles & 50–950 ramp

primary
#8A901B
secondary
#4E48BF
accent
#3DEB45
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A901B

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

Preview Lab → · Contrast checker → · Palette generator →

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