#8A9629#8A9629

#8A9629 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.3% C 0.130 H 115.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8A9629
RGBrgb(138, 150, 41)
HSLhsl(67, 57%, 37%)
HSVhsv(67, 73%, 59%)
CMYKcmyk(8%, 0%, 72.7%, 41.2%)
CIE-LABlab(59.32, -18.65, 52.78)
CIE-LCHlch(59.32, 55.98, 109.46°)
OKLaboklab(64.29% -0.0563 0.1173)
OKLCHoklch(64.29% 0.13 115.6)
XYZxyz(21.7884, 27.3764, 6.2338)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9629 #352996
analogous
#966C29 #8A9629 #539629
triadic
#8A9629 #298A96 #96298A
tetradic
#8A9629 #29966C #352996 #962953
square
#8A9629 #29966C #352996 #962953
split-complementary
#8A9629 #295396 #6C2996
monochromatic
#32360F #5E661C #8A9629 #B6C636 #C8D565

Accessibility & contrast

On white

3.24
#8A9629 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#8A9629 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9629
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9629#FFFFFF#000000##000000
##8A96291.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E15
Deuteranopia (green-blind)
#A09032
Tritanopia (blue-blind)
#938D81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a9629;
/* rgb */ color: rgb(138, 150, 41);
/* oklch */ color: oklch(64.3% 0.130 115.6);
Tailwind
colors: {
  custom: {
    50: '#afb46b',
    500: '#8a9629',
    950: '#000000',
  },
}
SCSS
$custom: #8a9629;
$custom-light: #afb46b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9629",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 41
  },
  "hsl": {
    "h": 66.606,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64292,
    "c": 0.13016,
    "h": 115.6
  },
  "luminance": 0.27376
}

Semantic roles & 50–950 ramp

primary
#8A9629
secondary
#6A60BB
accent
#47E058
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9629

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

Preview Lab → · Contrast checker → · Palette generator →

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