#8A9C26#8A9C26

#8A9C26 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 65.7% C 0.139 H 118.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8A9C26
RGBrgb(138, 156, 38)
HSLhsl(69, 61%, 38%)
HSVhsv(69, 76%, 61%)
CMYKcmyk(11.5%, 0%, 75.6%, 38.8%)
CIE-LABlab(61.06, -21.86, 55.53)
CIE-LCHlch(61.06, 59.68, 111.49°)
OKLaboklab(65.69% -0.0655 0.1226)
OKLCHoklch(65.69% 0.139 118.1)
XYZxyz(22.7201, 29.3204, 6.2958)
Luminance0.2932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9C26 #38269C
analogous
#9C7326 #8A9C26 #4F9C26
triadic
#8A9C26 #268A9C #9C268A
tetradic
#8A9C26 #269C73 #38269C #9C264F
square
#8A9C26 #269C73 #38269C #9C264F
split-complementary
#8A9C26 #264F9C #73269C
monochromatic
#333A0E #5E6B1A #8A9C26 #B5CD32 #C7D963

Accessibility & contrast

On white

3.06
#8A9C26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#8A9C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9C26
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9C26#FFFFFF#000000##000000
##8A9C261.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7930B
Deuteranopia (green-blind)
#A59430
Tritanopia (blue-blind)
#939386
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9c26;
/* rgb */ color: rgb(138, 156, 38);
/* oklch */ color: oklch(65.7% 0.139 118.1);
Tailwind
colors: {
  custom: {
    50: '#afb96a',
    500: '#8a9c26',
    950: '#000000',
  },
}
SCSS
$custom: #8a9c26;
$custom-light: #afb96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9c26",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 38
  },
  "hsl": {
    "h": 69.153,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65687,
    "c": 0.13901,
    "h": 118.1
  },
  "luminance": 0.2932
}

Semantic roles & 50–950 ramp

primary
#8A9C26
secondary
#6E5FBF
accent
#44E45C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9C26

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

Preview Lab → · Contrast checker → · Palette generator →

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