#8A9A26#8A9A26

#8A9A26 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.2% C 0.137 H 117.3°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8A9A26
RGBrgb(138, 154, 38)
HSLhsl(68, 60%, 38%)
HSVhsv(68, 75%, 60%)
CMYKcmyk(10.4%, 0%, 75.3%, 39.6%)
CIE-LABlab(60.48, -20.85, 54.97)
CIE-LCHlch(60.48, 58.79, 110.77°)
OKLaboklab(65.21% -0.0627 0.1214)
OKLCHoklch(65.21% 0.137 117.3)
XYZxyz(22.3872, 28.6547, 6.1849)
Luminance0.2865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A26 #36269A
analogous
#9A7026 #8A9A26 #509A26
triadic
#8A9A26 #268A9A #9A268A
tetradic
#8A9A26 #269A70 #36269A #9A2650
square
#8A9A26 #269A70 #36269A #9A2650
split-complementary
#8A9A26 #26509A #70269A
monochromatic
#32380E #5E691A #8A9A26 #B6CB32 #C8D862

Accessibility & contrast

On white

3.12
#8A9A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#8A9A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A26
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A26#FFFFFF#000000##000000
##8A9A261.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5910D
Deuteranopia (green-blind)
#A39230
Tritanopia (blue-blind)
#939184
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a26;
/* rgb */ color: rgb(138, 154, 38);
/* oklch */ color: oklch(65.2% 0.137 117.3);
Tailwind
colors: {
  custom: {
    50: '#afb76a',
    500: '#8a9a26',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a26;
$custom-light: #afb76a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a26",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 38
  },
  "hsl": {
    "h": 68.276,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65214,
    "c": 0.13668,
    "h": 117.3
  },
  "luminance": 0.28654
}

Semantic roles & 50–950 ramp

primary
#8A9A26
secondary
#6B5EBE
accent
#44E45A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9A26

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

Preview Lab → · Contrast checker → · Palette generator →

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