#8A8533#8A8533

#8A8533 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.4% C 0.104 H 105.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8A8533
RGBrgb(138, 133, 51)
HSLhsl(57, 46%, 37%)
HSVhsv(57, 63%, 54%)
CMYKcmyk(0%, 3.6%, 63%, 45.9%)
CIE-LABlab(54.47, -9.01, 43.60)
CIE-LCHlch(54.47, 44.52, 101.68°)
OKLaboklab(60.44% -0.0282 0.0996)
OKLCHoklch(60.44% 0.104 105.8)
XYZxyz(19.4670, 22.4180, 6.4330)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8533 #33388A
analogous
#8A5A33 #8A8533 #648A33
triadic
#8A8533 #338A85 #85338A
tetradic
#8A8533 #338A5A #33388A #8A3364
square
#8A8533 #338A5A #33388A #8A3364
split-complementary
#8A8533 #33648A #5A338A
monochromatic
#312F12 #5D5A22 #8A8533 #B7B044 #C9C46E

Accessibility & contrast

On white

3.83
#8A8533 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#8A8533 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8533
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8533#FFFFFF#000000##000000
##8A85331.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908029
Deuteranopia (green-blind)
#928438
Tritanopia (blue-blind)
#947C74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8533;
/* rgb */ color: rgb(138, 133, 51);
/* oklch */ color: oklch(60.4% 0.104 105.8);
Tailwind
colors: {
  custom: {
    50: '#afa86f',
    500: '#8a8533',
    950: '#000000',
  },
}
SCSS
$custom: #8a8533;
$custom-light: #afa86f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8533",
  "rgb": {
    "r": 138,
    "g": 133,
    "b": 51
  },
  "hsl": {
    "h": 56.552,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60437,
    "c": 0.10354,
    "h": 105.8
  },
  "luminance": 0.22417
}

Semantic roles & 50–950 ramp

primary
#8A8533
secondary
#676CB1
accent
#5AD652
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8533

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

Preview Lab → · Contrast checker → · Palette generator →

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