#8A8A43#8A8A43

#8A8A43 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.8% C 0.094 H 108.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8A8A43
RGBrgb(138, 138, 67)
HSLhsl(60, 35%, 40%)
HSVhsv(60, 51%, 54%)
CMYKcmyk(0%, 0%, 51.4%, 45.9%)
CIE-LABlab(56.07, -10.40, 37.62)
CIE-LCHlch(56.07, 39.03, 105.46°)
OKLaboklab(61.77% -0.0303 0.0888)
OKLCHoklch(61.77% 0.094 108.9)
XYZxyz(20.5833, 23.9860, 8.8546)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A43 #43438A
analogous
#8A6643 #8A8A43 #668A43
triadic
#8A8A43 #438A8A #8A438A
tetradic
#8A8A43 #438A66 #43438A #8A4366
square
#8A8A43 #438A66 #43438A #8A4366
split-complementary
#8A8A43 #43668A #66438A
monochromatic
#38381B #61612F #8A8A43 #AFAF5B #C3C384

Accessibility & contrast

On white

3.62
#8A8A43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8A8A43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A43
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A43#FFFFFF#000000##000000
##8A8A431.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94853C
Deuteranopia (green-blind)
#958847
Tritanopia (blue-blind)
#92827A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8a43;
/* rgb */ color: rgb(138, 138, 67);
/* oklch */ color: oklch(61.8% 0.094 108.9);
Tailwind
colors: {
  custom: {
    50: '#aeac79',
    500: '#8a8a43',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a43;
$custom-light: #aeac79;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a43",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 67
  },
  "hsl": {
    "h": 60,
    "s": 34.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61771,
    "c": 0.09378,
    "h": 108.9
  },
  "luminance": 0.23985
}

Semantic roles & 50–950 ramp

primary
#8A8A43
secondary
#7B7BAE
accent
#5DCB5D
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A8A43

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

Preview Lab → · Contrast checker → · Palette generator →

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