#8A9019#8A9019

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

Color values

HEX#8A9019
RGBrgb(138, 144, 25)
HSLhsl(63, 70%, 33%)
HSVhsv(63, 83%, 56%)
CMYKcmyk(4.2%, 0%, 82.6%, 43.5%)
CIE-LABlab(57.48, -16.25, 56.34)
CIE-LCHlch(57.48, 58.64, 106.09°)
OKLaboklab(62.79% -0.051 0.122)
OKLCHoklch(62.79% 0.132 112.7)
XYZxyz(20.6307, 25.4205, 4.7394)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9019 #1F1990
analogous
#905A19 #8A9019 #4E9019
triadic
#8A9019 #198A90 #90198A
tetradic
#8A9019 #19905A #1F1990 #90194E
square
#8A9019 #19905A #1F1990 #90194E
split-complementary
#8A9019 #194E90 #5A1990
monochromatic
#262807 #585C10 #8A9019 #BCC422 #D7DF45

Accessibility & contrast

On white

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

On black

6.08
#8A9019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9019
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9019#FFFFFF#000000##000000
##8A90191.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9019;
/* rgb */ color: rgb(138, 144, 25);
/* oklch */ color: oklch(62.8% 0.132 112.7);
Tailwind
colors: {
  custom: {
    50: '#b0b063',
    500: '#8a9019',
    950: '#000000',
  },
}
SCSS
$custom: #8a9019;
$custom-light: #b0b063;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9019",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 25
  },
  "hsl": {
    "h": 63.025,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.62791,
    "c": 0.13223,
    "h": 112.7
  },
  "luminance": 0.2542
}

Semantic roles & 50–950 ramp

primary
#8A9019
secondary
#4B45C0
accent
#3BED44
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A9019

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

Preview Lab → · Contrast checker → · Palette generator →

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