#8A9D26#8A9D26

#8A9D26 is a light, vivid yellow. Relative luminance 0.297; OKLCH L 65.9% C 0.140 H 118.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A9D26
RGBrgb(138, 157, 38)
HSLhsl(70, 61%, 38%)
HSVhsv(70, 76%, 62%)
CMYKcmyk(12.1%, 0%, 75.8%, 38.4%)
CIE-LABlab(61.36, -22.36, 55.81)
CIE-LCHlch(61.36, 60.12, 111.84°)
OKLaboklab(65.92% -0.0669 0.1232)
OKLCHoklch(65.92% 0.14 118.5)
XYZxyz(22.8886, 29.6573, 6.3520)
Luminance0.2966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D26 #39269D
analogous
#9D7426 #8A9D26 #4E9D26
triadic
#8A9D26 #268A9D #9D268A
tetradic
#8A9D26 #269D74 #39269D #9D264E
square
#8A9D26 #269D74 #39269D #9D264E
split-complementary
#8A9D26 #264E9D #74269D
monochromatic
#333A0E #5F6C1A #8A9D26 #B5CE33 #C7D964

Accessibility & contrast

On white

3.03
#8A9D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#8A9D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9D26
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9D26#FFFFFF#000000##000000
##8A9D261.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940A
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#939486
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9d26;
/* rgb */ color: rgb(138, 157, 38);
/* oklch */ color: oklch(65.9% 0.140 118.5);
Tailwind
colors: {
  custom: {
    50: '#afb96a',
    500: '#8a9d26',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d26;
$custom-light: #afb96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d26",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 38
  },
  "hsl": {
    "h": 69.58,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65923,
    "c": 0.14018,
    "h": 118.5
  },
  "luminance": 0.29657
}

Semantic roles & 50–950 ramp

primary
#8A9D26
secondary
#6F60BF
accent
#44E45D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9D26

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

Preview Lab → · Contrast checker → · Palette generator →

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