#8A8D1A#8A8D1A

#8A8D1A is a light, vivid yellow. Relative luminance 0.245; OKLCH L 62.1% C 0.129 H 111.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A8D1A
RGBrgb(138, 141, 26)
HSLhsl(62, 69%, 33%)
HSVhsv(62, 82%, 55%)
CMYKcmyk(2.1%, 0%, 81.6%, 44.7%)
CIE-LABlab(56.61, -14.64, 55.30)
CIE-LCHlch(56.61, 57.20, 104.83°)
OKLaboklab(62.1% -0.0465 0.1199)
OKLCHoklch(62.1% 0.129 111.2)
XYZxyz(20.1933, 24.5282, 4.6478)
Luminance0.2453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D1A #1D1A8D
analogous
#8D561A #8A8D1A #518D1A
triadic
#8A8D1A #1A8A8D #8D1A8A
tetradic
#8A8D1A #1A8D56 #1D1A8D #8D1A51
square
#8A8D1A #1A8D56 #1D1A8D #8D1A51
split-complementary
#8A8D1A #1A518D #561A8D
monochromatic
#252607 #575910 #8A8D1A #BDC124 #D9DD45

Accessibility & contrast

On white

3.56
#8A8D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8A8D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D1A
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D1A#FFFFFF#000000##000000
##8A8D1A1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#948478
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d1a;
/* rgb */ color: rgb(138, 141, 26);
/* oklch */ color: oklch(62.1% 0.129 111.2);
Tailwind
colors: {
  custom: {
    50: '#b0ae63',
    500: '#8a8d1a',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d1a;
$custom-light: #b0ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d1a",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 61.565,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.62096,
    "c": 0.12862,
    "h": 111.2
  },
  "luminance": 0.24528
}

Semantic roles & 50–950 ramp

primary
#8A8D1A
secondary
#4845BE
accent
#3CEC41
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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