#8A8D43#8A8D43

#8A8D43 is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.5% C 0.097 H 111.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8A8D43
RGBrgb(138, 141, 67)
HSLhsl(62, 36%, 41%)
HSVhsv(62, 52%, 55%)
CMYKcmyk(2.1%, 0%, 52.5%, 44.7%)
CIE-LABlab(56.94, -12.02, 38.63)
CIE-LCHlch(56.94, 40.46, 107.28°)
OKLaboklab(62.46% -0.0349 0.091)
OKLCHoklch(62.46% 0.097 111)
XYZxyz(21.0197, 24.8587, 9.0000)
Luminance0.2486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D43 #46438D
analogous
#8D6B43 #8A8D43 #658D43
triadic
#8A8D43 #438A8D #8D438A
tetradic
#8A8D43 #438D6B #46438D #8D4365
square
#8A8D43 #438D6B #46438D #8D4365
split-complementary
#8A8D43 #43658D #6B438D
monochromatic
#393A1C #61642F #8A8D43 #AEB15C #C3C585

Accessibility & contrast

On white

3.52
#8A8D43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8A8D43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D43
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D43#FFFFFF#000000##000000
##8A8D431.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97873C
Deuteranopia (green-blind)
#978A47
Tritanopia (blue-blind)
#92857C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8d43;
/* rgb */ color: rgb(138, 141, 67);
/* oklch */ color: oklch(62.5% 0.097 111.0);
Tailwind
colors: {
  custom: {
    50: '#aeae79',
    500: '#8a8d43',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d43;
$custom-light: #aeae79;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d43",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 67
  },
  "hsl": {
    "h": 62.432,
    "s": 35.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6246,
    "c": 0.09743,
    "h": 111
  },
  "luminance": 0.24858
}

Semantic roles & 50–950 ramp

primary
#8A8D43
secondary
#7E7CB0
accent
#5CCC61
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A8D43

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

Preview Lab → · Contrast checker → · Palette generator →

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