#8A8E11#8A8E11

#8A8E11 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.3% C 0.133 H 111.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8A8E11
RGBrgb(138, 142, 17)
HSLhsl(62, 79%, 31%)
HSVhsv(62, 88%, 56%)
CMYKcmyk(2.8%, 0%, 88%, 44.3%)
CIE-LABlab(56.87, -15.44, 57.81)
CIE-LCHlch(56.87, 59.83, 104.95°)
OKLaboklab(62.29% -0.0493 0.1238)
OKLCHoklch(62.29% 0.133 111.7)
XYZxyz(20.2562, 24.7903, 4.2482)
Luminance0.2479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E11 #15118E
analogous
#8E5311 #8A8E11 #4B8E11
triadic
#8A8E11 #118A8E #8E118A
tetradic
#8A8E11 #118E53 #15118E #8E114B
square
#8A8E11 #118E53 #15118E #8E114B
split-complementary
#8A8E11 #114B8E #53118E
monochromatic
#202104 #55570A #8A8E11 #BFC518 #E1E733

Accessibility & contrast

On white

3.52
#8A8E11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#8A8E11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8E11
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8E11#FFFFFF#000000##000000
##8A8E111.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9A8A1F
Tritanopia (blue-blind)
#948579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8e11;
/* rgb */ color: rgb(138, 142, 17);
/* oklch */ color: oklch(62.3% 0.133 111.7);
Tailwind
colors: {
  custom: {
    50: '#b0ae5f',
    500: '#8a8e11',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e11;
$custom-light: #b0ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e11",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 61.92,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.62292,
    "c": 0.13323,
    "h": 111.7
  },
  "luminance": 0.2479
}

Semantic roles & 50–950 ramp

primary
#8A8E11
secondary
#3D38C2
accent
#33F539
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8A8E11

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

Preview Lab → · Contrast checker → · Palette generator →

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