#8A9535#8A9535

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

Color values

HEX#8A9535
RGBrgb(138, 149, 53)
HSLhsl(67, 48%, 40%)
HSVhsv(67, 64%, 58%)
CMYKcmyk(7.4%, 0%, 64.4%, 41.6%)
CIE-LABlab(59.12, -17.39, 47.69)
CIE-LCHlch(59.12, 50.76, 110.03°)
OKLaboklab(64.16% -0.0516 0.1086)
OKLCHoklch(64.16% 0.12 115.4)
XYZxyz(21.8718, 27.1555, 7.4568)
Luminance0.2716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9535 #403595
analogous
#957035 #8A9535 #5A9535
triadic
#8A9535 #358A95 #95358A
tetradic
#8A9535 #359570 #403595 #95355A
square
#8A9535 #359570 #403595 #95355A
split-complementary
#8A9535 #355A95 #703595
monochromatic
#363B15 #606825 #8A9535 #B1BE49 #C4CE76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9535#FFFFFF#000000##000000
##8A95351.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)
#9F8E29
Deuteranopia (green-blind)
#9E8F3B
Tritanopia (blue-blind)
#938D81
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9535;
/* rgb */ color: rgb(138, 149, 53);
/* oklch */ color: oklch(64.2% 0.120 115.4);
Tailwind
colors: {
  custom: {
    50: '#afb471',
    500: '#8a9535',
    950: '#000000',
  },
}
SCSS
$custom: #8a9535;
$custom-light: #afb471;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9535",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 53
  },
  "hsl": {
    "h": 66.875,
    "s": 47.525,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64158,
    "c": 0.1202,
    "h": 115.4
  },
  "luminance": 0.27155
}

Semantic roles & 50–950 ramp

primary
#8A9535
secondary
#776FB7
accent
#51D760
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9535

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

Preview Lab → · Contrast checker → · Palette generator →

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