#8A901C#8A901C

#8A901C 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#8A901C
RGBrgb(138, 144, 28)
HSLhsl(63, 67%, 34%)
HSVhsv(63, 81%, 56%)
CMYKcmyk(4.2%, 0%, 80.6%, 43.5%)
CIE-LABlab(57.50, -16.14, 55.49)
CIE-LCHlch(57.50, 57.79, 106.22°)
OKLaboklab(62.81% -0.0505 0.1207)
OKLCHoklch(62.81% 0.131 112.7)
XYZxyz(20.6648, 25.4341, 4.9191)
Luminance0.2543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A901C #221C90
analogous
#905C1C #8A901C #50901C
triadic
#8A901C #1C8A90 #901C8A
tetradic
#8A901C #1C905C #221C90 #901C50
square
#8A901C #1C905C #221C90 #901C50
split-complementary
#8A901C #1C5090 #5C1C90
monochromatic
#282A08 #595D12 #8A901C #BBC326 #D4DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8a901c;
/* rgb */ color: rgb(138, 144, 28);
/* oklch */ color: oklch(62.8% 0.131 112.7);
Tailwind
colors: {
  custom: {
    50: '#b0b064',
    500: '#8a901c',
    950: '#000000',
  },
}
SCSS
$custom: #8a901c;
$custom-light: #b0b064;
$custom-dark: #000000;
JSON
{
  "hex": "#8a901c",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 63.103,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62806,
    "c": 0.13085,
    "h": 112.7
  },
  "luminance": 0.25434
}

Semantic roles & 50–950 ramp

primary
#8A901C
secondary
#504ABE
accent
#3DEA46
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A901C

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

Preview Lab → · Contrast checker → · Palette generator →

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