#8A9B26#8A9B26

#8A9B26 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.5% C 0.138 H 117.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8A9B26
RGBrgb(138, 155, 38)
HSLhsl(69, 61%, 38%)
HSVhsv(69, 75%, 61%)
CMYKcmyk(11%, 0%, 75.5%, 39.2%)
CIE-LABlab(60.77, -21.36, 55.25)
CIE-LCHlch(60.77, 59.24, 111.13°)
OKLaboklab(65.45% -0.0641 0.122)
OKLCHoklch(65.45% 0.138 117.7)
XYZxyz(22.5530, 28.9861, 6.2401)
Luminance0.2899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B26 #37269B
analogous
#9B7126 #8A9B26 #4F9B26
triadic
#8A9B26 #268A9B #9B268A
tetradic
#8A9B26 #269B71 #37269B #9B264F
square
#8A9B26 #269B71 #37269B #9B264F
split-complementary
#8A9B26 #264F9B #71269B
monochromatic
#32390E #5E6A1A #8A9B26 #B6CC32 #C8D963

Accessibility & contrast

On white

3.09
#8A9B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#8A9B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B26
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B26#FFFFFF#000000##000000
##8A9B261.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6920C
Deuteranopia (green-blind)
#A49330
Tritanopia (blue-blind)
#939285
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b26;
/* rgb */ color: rgb(138, 155, 38);
/* oklch */ color: oklch(65.5% 0.138 117.7);
Tailwind
colors: {
  custom: {
    50: '#afb86a',
    500: '#8a9b26',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b26;
$custom-light: #afb86a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b26",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 38
  },
  "hsl": {
    "h": 68.718,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6545,
    "c": 0.13785,
    "h": 117.7
  },
  "luminance": 0.28986
}

Semantic roles & 50–950 ramp

primary
#8A9B26
secondary
#6D5FBE
accent
#44E45B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9B26

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

Preview Lab → · Contrast checker → · Palette generator →

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