#8A8523#8A8523

#8A8523 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.3% C 0.116 H 106.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8A8523
RGBrgb(138, 133, 35)
HSLhsl(57, 60%, 34%)
HSVhsv(57, 75%, 54%)
CMYKcmyk(0%, 3.6%, 74.6%, 45.9%)
CIE-LABlab(54.34, -9.97, 50.22)
CIE-LCHlch(54.34, 51.20, 101.23°)
OKLaboklab(60.3% -0.0327 0.1108)
OKLCHoklch(60.3% 0.116 106.4)
XYZxyz(19.1729, 22.3004, 4.8842)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8523 #23288A
analogous
#8A5223 #8A8523 #5C8A23
triadic
#8A8523 #238A85 #85238A
tetradic
#8A8523 #238A52 #23288A #8A235C
square
#8A8523 #238A52 #23288A #8A235C
split-complementary
#8A8523 #235C8A #52238A
monochromatic
#28270A #595617 #8A8523 #BBB42F #D4CD54

Accessibility & contrast

On white

3.85
#8A8523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8A8523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8523
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8523#FFFFFF#000000##000000
##8A85231.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918011
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#947C72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8523;
/* rgb */ color: rgb(138, 133, 35);
/* oklch */ color: oklch(60.3% 0.116 106.4);
Tailwind
colors: {
  custom: {
    50: '#afa866',
    500: '#8a8523',
    950: '#000000',
  },
}
SCSS
$custom: #8a8523;
$custom-light: #afa866;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8523",
  "rgb": {
    "r": 138,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 57.087,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.603,
    "c": 0.11556,
    "h": 106.4
  },
  "luminance": 0.223
}

Semantic roles & 50–950 ramp

primary
#8A8523
secondary
#5156B7
accent
#4DE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A8523

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

Preview Lab → · Contrast checker → · Palette generator →

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