#8A9A29#8A9A29

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

Color values

HEX#8A9A29
RGBrgb(138, 154, 41)
HSLhsl(68, 58%, 38%)
HSVhsv(68, 73%, 60%)
CMYKcmyk(10.4%, 0%, 73.4%, 39.6%)
CIE-LABlab(60.49, -20.70, 53.92)
CIE-LCHlch(60.49, 57.76, 111.00°)
OKLaboklab(65.23% -0.062 0.1197)
OKLCHoklch(65.23% 0.135 117.4)
XYZxyz(22.4376, 28.6748, 6.4502)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A29 #39299A
analogous
#9A7229 #8A9A29 #519A29
triadic
#8A9A29 #298A9A #9A298A
tetradic
#8A9A29 #299A72 #39299A #9A2951
square
#8A9A29 #299A72 #39299A #9A2951
split-complementary
#8A9A29 #29519A #72299A
monochromatic
#33390F #5F6A1C #8A9A29 #B5CA37 #C7D767

Accessibility & contrast

On white

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

On black

6.74
#8A9A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A29
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A29#FFFFFF#000000##000000
##8A9A291.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9a29;
/* rgb */ color: rgb(138, 154, 41);
/* oklch */ color: oklch(65.2% 0.135 117.4);
Tailwind
colors: {
  custom: {
    50: '#afb76b',
    500: '#8a9a29',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a29;
$custom-light: #afb76b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a29",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 41
  },
  "hsl": {
    "h": 68.496,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65234,
    "c": 0.13484,
    "h": 117.4
  },
  "luminance": 0.28675
}

Semantic roles & 50–950 ramp

primary
#8A9A29
secondary
#6F62BD
accent
#47E15D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9A29

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

Preview Lab → · Contrast checker → · Palette generator →

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