#8A8A26#8A8A26

#8A8A26 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.5% C 0.119 H 109.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8A8A26
RGBrgb(138, 138, 38)
HSLhsl(60, 57%, 35%)
HSVhsv(60, 72%, 54%)
CMYKcmyk(0%, 0%, 72.5%, 45.9%)
CIE-LABlab(55.81, -12.51, 50.49)
CIE-LCHlch(55.81, 52.02, 103.92°)
OKLaboklab(61.47% -0.0395 0.112)
OKLCHoklch(61.47% 0.119 109.4)
XYZxyz(19.9203, 23.7208, 5.3626)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A26 #26268A
analogous
#8A5826 #8A8A26 #588A26
triadic
#8A8A26 #268A8A #8A268A
tetradic
#8A8A26 #268A58 #26268A #8A2658
square
#8A8A26 #268A58 #26268A #8A2658
split-complementary
#8A8A26 #26588A #58268A
monochromatic
#2A2A0C #5A5A19 #8A8A26 #BABA33 #D1D159

Accessibility & contrast

On white

3.66
#8A8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8A8A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A26
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A26#FFFFFF#000000##000000
##8A8A261.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958414
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#948176
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8a26;
/* rgb */ color: rgb(138, 138, 38);
/* oklch */ color: oklch(61.5% 0.119 109.4);
Tailwind
colors: {
  custom: {
    50: '#afab68',
    500: '#8a8a26',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a26;
$custom-light: #afab68;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a26",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61473,
    "c": 0.11875,
    "h": 109.4
  },
  "luminance": 0.2372
}

Semantic roles & 50–950 ramp

primary
#8A8A26
secondary
#5656B6
accent
#48E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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