#8A9A1D#8A9A1D

#8A9A1D is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.2% C 0.141 H 117.1°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8A9A1D
RGBrgb(138, 154, 29)
HSLhsl(68, 68%, 36%)
HSVhsv(68, 81%, 60%)
CMYKcmyk(10.4%, 0%, 81.2%, 39.6%)
CIE-LABlab(60.43, -21.24, 57.80)
CIE-LCHlch(60.43, 61.58, 110.18°)
OKLaboklab(65.16% -0.0645 0.1258)
OKLCHoklch(65.16% 0.141 117.1)
XYZxyz(22.2592, 28.6035, 5.5106)
Luminance0.2860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A1D #2D1D9A
analogous
#9A6B1D #8A9A1D #4B9A1D
triadic
#8A9A1D #1D8A9A #9A1D8A
tetradic
#8A9A1D #1D9A6B #2D1D9A #9A1D4B
square
#8A9A1D #1D9A6B #2D1D9A #9A1D4B
split-complementary
#8A9A1D #1D4B9A #6B1D9A
monochromatic
#2E330A #5C6613 #8A9A1D #B8CE27 #CDDF53

Accessibility & contrast

On white

3.12
#8A9A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#8A9A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A1D
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A1D#FFFFFF#000000##000000
##8A9A1D1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#939183
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a1d;
/* rgb */ color: rgb(138, 154, 29);
/* oklch */ color: oklch(65.2% 0.141 117.1);
Tailwind
colors: {
  custom: {
    50: '#b0b766',
    500: '#8a9a1d',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a1d;
$custom-light: #b0b766;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a1d",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 29
  },
  "hsl": {
    "h": 67.68,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65163,
    "c": 0.1414,
    "h": 117.1
  },
  "luminance": 0.28603
}

Semantic roles & 50–950 ramp

primary
#8A9A1D
secondary
#6051C2
accent
#3DEB53
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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