#8A8F1A#8A8F1A

#8A8F1A is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.131 H 112.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8A8F1A
RGBrgb(138, 143, 26)
HSLhsl(63, 69%, 33%)
HSVhsv(63, 82%, 56%)
CMYKcmyk(3.5%, 0%, 81.8%, 43.9%)
CIE-LABlab(57.20, -15.69, 55.81)
CIE-LCHlch(57.20, 57.97, 105.70°)
OKLaboklab(62.56% -0.0494 0.121)
OKLCHoklch(62.56% 0.131 112.2)
XYZxyz(20.4909, 25.1233, 4.7470)
Luminance0.2512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8F1A #1F1A8F
analogous
#8F591A #8A8F1A #4F8F1A
triadic
#8A8F1A #1A8A8F #8F1A8A
tetradic
#8A8F1A #1A8F59 #1F1A8F #8F1A4F
square
#8A8F1A #1A8F59 #1F1A8F #8F1A4F
split-complementary
#8A8F1A #1A4F8F #591A8F
monochromatic
#262707 #585B11 #8A8F1A #BCC323 #D7DD46

Accessibility & contrast

On white

3.49
#8A8F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8A8F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8F1A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8F1A#FFFFFF#000000##000000
##8A8F1A1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9B8B25
Tritanopia (blue-blind)
#94867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8f1a;
/* rgb */ color: rgb(138, 143, 26);
/* oklch */ color: oklch(62.6% 0.131 112.2);
Tailwind
colors: {
  custom: {
    50: '#b0af63',
    500: '#8a8f1a',
    950: '#000000',
  },
}
SCSS
$custom: #8a8f1a;
$custom-light: #b0af63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8f1a",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 62.564,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.62562,
    "c": 0.13073,
    "h": 112.2
  },
  "luminance": 0.25123
}

Semantic roles & 50–950 ramp

primary
#8A8F1A
secondary
#4B46BF
accent
#3CEC43
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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