#8A8B26#8A8B26

#8A8B26 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.7% C 0.120 H 110.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8A8B26
RGBrgb(138, 139, 38)
HSLhsl(61, 57%, 35%)
HSVhsv(61, 73%, 55%)
CMYKcmyk(0.7%, 0%, 72.7%, 45.5%)
CIE-LABlab(56.10, -13.05, 50.78)
CIE-LCHlch(56.10, 52.43, 104.41°)
OKLaboklab(61.7% -0.041 0.1126)
OKLCHoklch(61.7% 0.12 110)
XYZxyz(20.0644, 24.0090, 5.4106)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8B26 #27268B
analogous
#8B5A26 #8A8B26 #588B26
triadic
#8A8B26 #268A8B #8B268A
tetradic
#8A8B26 #268B5A #27268B #8B2658
square
#8A8B26 #268B5A #27268B #8B2658
split-complementary
#8A8B26 #26588B #5A268B
monochromatic
#2B2B0C #5A5B19 #8A8B26 #BABB33 #D1D25A

Accessibility & contrast

On white

3.62
#8A8B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8A8B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8B26
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8B26#FFFFFF#000000##000000
##8A8B261.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968514
Deuteranopia (green-blind)
#97882E
Tritanopia (blue-blind)
#948277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8b26;
/* rgb */ color: rgb(138, 139, 38);
/* oklch */ color: oklch(61.7% 0.120 110.0);
Tailwind
colors: {
  custom: {
    50: '#afac68',
    500: '#8a8b26',
    950: '#000000',
  },
}
SCSS
$custom: #8a8b26;
$custom-light: #afac68;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8b26",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 60.594,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61704,
    "c": 0.11982,
    "h": 110
  },
  "luminance": 0.24008
}

Semantic roles & 50–950 ramp

primary
#8A8B26
secondary
#5756B7
accent
#47E049
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8B26

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

Preview Lab → · Contrast checker → · Palette generator →

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