#8A8D26#8A8D26

#8A8D26 is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.2% C 0.122 H 111.1°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8A8D26
RGBrgb(138, 141, 38)
HSLhsl(62, 58%, 35%)
HSVhsv(62, 73%, 55%)
CMYKcmyk(2.1%, 0%, 73%, 44.7%)
CIE-LABlab(56.68, -14.11, 51.34)
CIE-LCHlch(56.68, 53.24, 105.37°)
OKLaboklab(62.17% -0.044 0.1138)
OKLCHoklch(62.17% 0.122 111.1)
XYZxyz(20.3566, 24.5935, 5.5080)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D26 #29268D
analogous
#8D5D26 #8A8D26 #568D26
triadic
#8A8D26 #268A8D #8D268A
tetradic
#8A8D26 #268D5D #29268D #8D2656
square
#8A8D26 #268D5D #29268D #8D2656
split-complementary
#8A8D26 #26568D #5D268D
monochromatic
#2C2D0C #5B5D19 #8A8D26 #B9BD33 #CFD35B

Accessibility & contrast

On white

3.55
#8A8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8A8D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D26
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D26#FFFFFF#000000##000000
##8A8D261.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988713
Deuteranopia (green-blind)
#99892E
Tritanopia (blue-blind)
#948479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d26;
/* rgb */ color: rgb(138, 141, 38);
/* oklch */ color: oklch(62.2% 0.122 111.1);
Tailwind
colors: {
  custom: {
    50: '#afae68',
    500: '#8a8d26',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d26;
$custom-light: #afae68;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d26",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 61.748,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62168,
    "c": 0.12197,
    "h": 111.1
  },
  "luminance": 0.24593
}

Semantic roles & 50–950 ramp

primary
#8A8D26
secondary
#5A57B8
accent
#47E14B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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