#8A8530#8A8530

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

Color values

HEX#8A8530
RGBrgb(138, 133, 48)
HSLhsl(57, 48%, 36%)
HSVhsv(57, 65%, 54%)
CMYKcmyk(0%, 3.6%, 65.2%, 45.9%)
CIE-LABlab(54.44, -9.22, 44.94)
CIE-LCHlch(54.44, 45.88, 101.59°)
OKLaboklab(60.41% -0.0291 0.102)
OKLCHoklch(60.41% 0.106 105.9)
XYZxyz(19.4030, 22.3924, 6.0958)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8530 #30358A
analogous
#8A5830 #8A8530 #628A30
triadic
#8A8530 #308A85 #85308A
tetradic
#8A8530 #308A58 #30358A #8A3062
square
#8A8530 #308A58 #30358A #8A3062
split-complementary
#8A8530 #30628A #58308A
monochromatic
#2F2D10 #5D5920 #8A8530 #B7B140 #CBC669

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8530#FFFFFF#000000##000000
##8A85301.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)
#908025
Deuteranopia (green-blind)
#928435
Tritanopia (blue-blind)
#947C73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8530;
/* rgb */ color: rgb(138, 133, 48);
/* oklch */ color: oklch(60.4% 0.106 105.9);
Tailwind
colors: {
  custom: {
    50: '#afa86d',
    500: '#8a8530',
    950: '#000000',
  },
}
SCSS
$custom: #8a8530;
$custom-light: #afa86d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8530",
  "rgb": {
    "r": 138,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 56.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60407,
    "c": 0.10608,
    "h": 105.9
  },
  "luminance": 0.22392
}

Semantic roles & 50–950 ramp

primary
#8A8530
secondary
#6468B2
accent
#57D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8530

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

Preview Lab → · Contrast checker → · Palette generator →

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