#8A9015#8A9015

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

Color values

HEX#8A9015
RGBrgb(138, 144, 21)
HSLhsl(63, 75%, 32%)
HSVhsv(63, 85%, 56%)
CMYKcmyk(4.2%, 0%, 85.4%, 43.5%)
CIE-LABlab(57.47, -16.38, 57.38)
CIE-LCHlch(57.47, 59.67, 105.93°)
OKLaboklab(62.77% -0.0517 0.1235)
OKLCHoklch(62.77% 0.134 112.7)
XYZxyz(20.5906, 25.4044, 4.5282)
Luminance0.2540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9015 #1B1590
analogous
#905915 #8A9015 #4C9015
triadic
#8A9015 #158A90 #90158A
tetradic
#8A9015 #159059 #1B1590 #90154C
square
#8A9015 #159059 #1B1590 #90154C
split-complementary
#8A9015 #154C90 #591590
monochromatic
#242505 #575B0D #8A9015 #BDC51D #DBE33D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9015#FFFFFF#000000##000000
##8A90151.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)
#9C8B22
Tritanopia (blue-blind)
#94877A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a9015;
/* rgb */ color: rgb(138, 144, 21);
/* oklch */ color: oklch(62.8% 0.134 112.7);
Tailwind
colors: {
  custom: {
    50: '#b0b061',
    500: '#8a9015',
    950: '#000000',
  },
}
SCSS
$custom: #8a9015;
$custom-light: #b0b061;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9015",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 62.927,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62774,
    "c": 0.13388,
    "h": 112.7
  },
  "luminance": 0.25404
}

Semantic roles & 50–950 ramp

primary
#8A9015
secondary
#453EC2
accent
#37F140
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A9015

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

Preview Lab → · Contrast checker → · Palette generator →

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