#8A8423#8A8423

#8A8423 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.1% C 0.115 H 105.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8A8423
RGBrgb(138, 132, 35)
HSLhsl(57, 60%, 34%)
HSVhsv(57, 75%, 54%)
CMYKcmyk(0%, 4.3%, 74.6%, 45.9%)
CIE-LABlab(54.06, -9.43, 49.95)
CIE-LCHlch(54.06, 50.83, 100.69°)
OKLaboklab(60.07% -0.0312 0.1103)
OKLCHoklch(60.07% 0.115 105.8)
XYZxyz(19.0366, 22.0279, 4.8388)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8423 #23298A
analogous
#8A5123 #8A8423 #5D8A23
triadic
#8A8423 #238A84 #84238A
tetradic
#8A8423 #238A51 #23298A #8A235D
square
#8A8423 #238A51 #23298A #8A235D
split-complementary
#8A8423 #235D8A #51238A
monochromatic
#28270A #595517 #8A8423 #BBB32F #D4CC54

Accessibility & contrast

On white

3.89
#8A8423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8A8423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8423
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8423#FFFFFF#000000##000000
##8A84231.003.895.415.41
#FFFFFF3.891.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#957B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a8423;
/* rgb */ color: rgb(138, 132, 35);
/* oklch */ color: oklch(60.1% 0.115 105.8);
Tailwind
colors: {
  custom: {
    50: '#afa765',
    500: '#8a8423',
    950: '#000000',
  },
}
SCSS
$custom: #8a8423;
$custom-light: #afa765;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8423",
  "rgb": {
    "r": 138,
    "g": 132,
    "b": 35
  },
  "hsl": {
    "h": 56.505,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.6007,
    "c": 0.11458,
    "h": 105.8
  },
  "luminance": 0.22027
}

Semantic roles & 50–950 ramp

primary
#8A8423
secondary
#5157B7
accent
#4EE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A8423

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

Preview Lab → · Contrast checker → · Palette generator →

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