#8A9533#8A9533

#8A9533 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.1% C 0.122 H 115.4°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8A9533
RGBrgb(138, 149, 51)
HSLhsl(67, 49%, 39%)
HSVhsv(67, 66%, 58%)
CMYKcmyk(7.4%, 0%, 65.8%, 41.6%)
CIE-LABlab(59.10, -17.53, 48.54)
CIE-LCHlch(59.10, 51.60, 109.85°)
OKLaboklab(64.14% -0.0522 0.1101)
OKLCHoklch(64.14% 0.122 115.4)
XYZxyz(21.8267, 27.1375, 7.2196)
Luminance0.2714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9533 #3E3395
analogous
#956F33 #8A9533 #599533
triadic
#8A9533 #338A95 #95338A
tetradic
#8A9533 #33956F #3E3395 #953359
square
#8A9533 #33956F #3E3395 #953359
split-complementary
#8A9533 #335995 #6F3395
monochromatic
#363A14 #606723 #8A9533 #B2C046 #C5CF73

Accessibility & contrast

On white

3.27
#8A9533 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#8A9533 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9533
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9533#FFFFFF#000000##000000
##8A95331.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E26
Deuteranopia (green-blind)
#9F8F3A
Tritanopia (blue-blind)
#938D81
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9533;
/* rgb */ color: rgb(138, 149, 51);
/* oklch */ color: oklch(64.1% 0.122 115.4);
Tailwind
colors: {
  custom: {
    50: '#afb470',
    500: '#8a9533',
    950: '#000000',
  },
}
SCSS
$custom: #8a9533;
$custom-light: #afb470;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9533",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 51
  },
  "hsl": {
    "h": 66.735,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64139,
    "c": 0.12181,
    "h": 115.4
  },
  "luminance": 0.27137
}

Semantic roles & 50–950 ramp

primary
#8A9533
secondary
#756CB7
accent
#4FD95F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9533

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

Preview Lab → · Contrast checker → · Palette generator →

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