#8A901D#8A901D

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

Color values

HEX#8A901D
RGBrgb(138, 144, 29)
HSLhsl(63, 66%, 34%)
HSVhsv(63, 80%, 56%)
CMYKcmyk(4.2%, 0%, 79.9%, 43.5%)
CIE-LABlab(57.50, -16.10, 55.19)
CIE-LCHlch(57.50, 57.49, 106.26°)
OKLaboklab(62.81% -0.0503 0.1202)
OKLCHoklch(62.81% 0.13 112.7)
XYZxyz(20.6770, 25.4390, 4.9832)
Luminance0.2544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A901D #231D90
analogous
#905D1D #8A901D #51901D
triadic
#8A901D #1D8A90 #901D8A
tetradic
#8A901D #1D905D #231D90 #901D51
square
#8A901D #1D905D #231D90 #901D51
split-complementary
#8A901D #1D5190 #5D1D90
monochromatic
#282A08 #595D13 #8A901D #BBC327 #D4DB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A901D#FFFFFF#000000##000000
##8A901D1.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)
#9C8B28
Tritanopia (blue-blind)
#94877B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a901d;
/* rgb */ color: rgb(138, 144, 29);
/* oklch */ color: oklch(62.8% 0.130 112.7);
Tailwind
colors: {
  custom: {
    50: '#b0b064',
    500: '#8a901d',
    950: '#000000',
  },
}
SCSS
$custom: #8a901d;
$custom-light: #b0b064;
$custom-dark: #000000;
JSON
{
  "hex": "#8a901d",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 63.13,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62811,
    "c": 0.13035,
    "h": 112.7
  },
  "luminance": 0.25438
}

Semantic roles & 50–950 ramp

primary
#8A901D
secondary
#514BBD
accent
#3EE947
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A901D

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

Preview Lab → · Contrast checker → · Palette generator →

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