#8A8F16#8A8F16

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

Color values

HEX#8A8F16
RGBrgb(138, 143, 22)
HSLhsl(62, 73%, 32%)
HSVhsv(62, 85%, 56%)
CMYKcmyk(3.5%, 0%, 84.6%, 43.9%)
CIE-LABlab(57.18, -15.82, 56.88)
CIE-LCHlch(57.18, 59.04, 105.54°)
OKLaboklab(62.54% -0.0501 0.1226)
OKLCHoklch(62.54% 0.132 112.2)
XYZxyz(20.4492, 25.1066, 4.5278)
Luminance0.2511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8F16 #1B168F
analogous
#8F5716 #8A8F16 #4E8F16
triadic
#8A8F16 #168A8F #8F168A
tetradic
#8A8F16 #168F57 #1B168F #8F164E
square
#8A8F16 #168F57 #1B168F #8F164E
split-complementary
#8A8F16 #164E8F #57168F
monochromatic
#242506 #575A0E #8A8F16 #BDC41E #DBE13E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8F16#FFFFFF#000000##000000
##8A8F161.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)
#9B8B23
Tritanopia (blue-blind)
#94867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8f16;
/* rgb */ color: rgb(138, 143, 22);
/* oklch */ color: oklch(62.5% 0.132 112.2);
Tailwind
colors: {
  custom: {
    50: '#b0af61',
    500: '#8a8f16',
    950: '#000000',
  },
}
SCSS
$custom: #8a8f16;
$custom-light: #b0af61;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8f16",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 62.479,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62544,
    "c": 0.13243,
    "h": 112.2
  },
  "luminance": 0.25106
}

Semantic roles & 50–950 ramp

primary
#8A8F16
secondary
#453FC1
accent
#38F03F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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