#8A8B1D#8A8B1D

#8A8B1D is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.6% C 0.125 H 110.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8A8B1D
RGBrgb(138, 139, 29)
HSLhsl(61, 65%, 33%)
HSVhsv(61, 79%, 55%)
CMYKcmyk(0.7%, 0%, 79.1%, 45.5%)
CIE-LABlab(56.05, -13.46, 53.88)
CIE-LCHlch(56.05, 55.53, 104.03°)
OKLaboklab(61.65% -0.043 0.1175)
OKLCHoklch(61.65% 0.125 110.1)
XYZxyz(19.9364, 23.9578, 4.7363)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8B1D #1E1D8B
analogous
#8B551D #8A8B1D #538B1D
triadic
#8A8B1D #1D8A8B #8B1D8A
tetradic
#8A8B1D #1D8B55 #1E1D8B #8B1D53
square
#8A8B1D #1D8B55 #1E1D8B #8B1D53
split-complementary
#8A8B1D #1D538B #551D8B
monochromatic
#252608 #585812 #8A8B1D #BCBE28 #D8D949

Accessibility & contrast

On white

3.63
#8A8B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8A8B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8B1D
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8B1D#FFFFFF#000000##000000
##8A8B1D1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#948277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8b1d;
/* rgb */ color: rgb(138, 139, 29);
/* oklch */ color: oklch(61.6% 0.125 110.1);
Tailwind
colors: {
  custom: {
    50: '#b0ac63',
    500: '#8a8b1d',
    950: '#000000',
  },
}
SCSS
$custom: #8a8b1d;
$custom-light: #b0ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8b1d",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 60.545,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61647,
    "c": 0.12508,
    "h": 110.1
  },
  "luminance": 0.23957
}

Semantic roles & 50–950 ramp

primary
#8A8B1D
secondary
#4A49BB
accent
#3FE841
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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