#8A9926#8A9926

#8A9926 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.0% C 0.136 H 116.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8A9926
RGBrgb(138, 153, 38)
HSLhsl(68, 60%, 37%)
HSVhsv(68, 75%, 60%)
CMYKcmyk(9.8%, 0%, 75.2%, 40%)
CIE-LABlab(60.18, -20.34, 54.69)
CIE-LCHlch(60.18, 58.36, 110.40°)
OKLaboklab(64.98% -0.0613 0.1209)
OKLCHoklch(64.98% 0.136 116.9)
XYZxyz(22.2229, 28.3260, 6.1301)
Luminance0.2833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9926 #352699
analogous
#996E26 #8A9926 #519926
triadic
#8A9926 #268A99 #99268A
tetradic
#8A9926 #26996E #352699 #992651
square
#8A9926 #26996E #352699 #992651
split-complementary
#8A9926 #265199 #6E2699
monochromatic
#32370E #5E681A #8A9926 #B6CA32 #C8D862

Accessibility & contrast

On white

3.15
#8A9926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#8A9926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9926
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9926#FFFFFF#000000##000000
##8A99261.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910D
Deuteranopia (green-blind)
#A29230
Tritanopia (blue-blind)
#939083
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9926;
/* rgb */ color: rgb(138, 153, 38);
/* oklch */ color: oklch(65.0% 0.136 116.9);
Tailwind
colors: {
  custom: {
    50: '#afb769',
    500: '#8a9926',
    950: '#000000',
  },
}
SCSS
$custom: #8a9926;
$custom-light: #afb769;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9926",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 38
  },
  "hsl": {
    "h": 67.826,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64978,
    "c": 0.13551,
    "h": 116.9
  },
  "luminance": 0.28326
}

Semantic roles & 50–950 ramp

primary
#8A9926
secondary
#6A5EBD
accent
#44E359
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9926

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

Preview Lab → · Contrast checker → · Palette generator →

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