#8A8535#8A8535

#8A8535 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.5% C 0.102 H 105.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A8535
RGBrgb(138, 133, 53)
HSLhsl(56, 45%, 37%)
HSVhsv(56, 62%, 54%)
CMYKcmyk(0%, 3.6%, 61.6%, 45.9%)
CIE-LABlab(54.49, -8.87, 42.69)
CIE-LCHlch(54.49, 43.60, 101.73°)
OKLaboklab(60.46% -0.0275 0.098)
OKLCHoklch(60.46% 0.102 105.7)
XYZxyz(19.5120, 22.4360, 6.6702)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8535 #353A8A
analogous
#8A5B35 #8A8535 #648A35
triadic
#8A8535 #358A85 #85358A
tetradic
#8A8535 #358A5B #353A8A #8A3564
square
#8A8535 #358A5B #353A8A #8A3564
split-complementary
#8A8535 #35648A #5B358A
monochromatic
#323013 #5E5A24 #8A8535 #B6B046 #C8C371

Accessibility & contrast

On white

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

On black

5.49
#8A8535 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8535
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8535#FFFFFF#000000##000000
##8A85351.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802C
Deuteranopia (green-blind)
#928439
Tritanopia (blue-blind)
#947D74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8535;
/* rgb */ color: rgb(138, 133, 53);
/* oklch */ color: oklch(60.5% 0.102 105.7);
Tailwind
colors: {
  custom: {
    50: '#aea870',
    500: '#8a8535',
    950: '#000000',
  },
}
SCSS
$custom: #8a8535;
$custom-light: #aea870;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8535",
  "rgb": {
    "r": 138,
    "g": 133,
    "b": 53
  },
  "hsl": {
    "h": 56.471,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60458,
    "c": 0.10178,
    "h": 105.7
  },
  "luminance": 0.22435
}

Semantic roles & 50–950 ramp

primary
#8A8535
secondary
#6A6EB1
accent
#5BD454
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8535

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

Preview Lab → · Contrast checker → · Palette generator →

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