#8A9129#8A9129

#8A9129 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.1% C 0.124 H 113.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8A9129
RGBrgb(138, 145, 41)
HSLhsl(64, 56%, 36%)
HSVhsv(64, 72%, 57%)
CMYKcmyk(4.8%, 0%, 71.7%, 43.1%)
CIE-LABlab(57.86, -16.06, 51.35)
CIE-LCHlch(57.86, 53.80, 107.36°)
OKLaboklab(63.12% -0.0491 0.1143)
OKLCHoklch(63.12% 0.124 113.2)
XYZxyz(21.0075, 25.8146, 5.9735)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9129 #302991
analogous
#916429 #8A9129 #569129
triadic
#8A9129 #298A91 #91298A
tetradic
#8A9129 #299164 #302991 #912956
square
#8A9129 #299164 #302991 #912956
split-complementary
#8A9129 #295691 #642991
monochromatic
#2F320E #5D611C #8A9129 #B7C136 #CBD362

Accessibility & contrast

On white

3.41
#8A9129 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#8A9129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9129
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9129#FFFFFF#000000##000000
##8A91291.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A17
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#93887D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a9129;
/* rgb */ color: rgb(138, 145, 41);
/* oklch */ color: oklch(63.1% 0.124 113.2);
Tailwind
colors: {
  custom: {
    50: '#afb16a',
    500: '#8a9129',
    950: '#000000',
  },
}
SCSS
$custom: #8a9129;
$custom-light: #afb16a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9129",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 41
  },
  "hsl": {
    "h": 64.038,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63121,
    "c": 0.12444,
    "h": 113.2
  },
  "luminance": 0.25814
}

Semantic roles & 50–950 ramp

primary
#8A9129
secondary
#645DB8
accent
#49DF53
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A9129

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

Preview Lab → · Contrast checker → · Palette generator →

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