#8A8D52#8A8D52

#8A8D52 is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.7% C 0.081 H 111.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8A8D52
RGBrgb(138, 141, 82)
HSLhsl(63, 26%, 44%)
HSVhsv(63, 42%, 55%)
CMYKcmyk(2.1%, 0%, 41.8%, 44.7%)
CIE-LABlab(57.14, -10.45, 31.06)
CIE-LCHlch(57.14, 32.77, 108.60°)
OKLaboklab(62.68% -0.029 0.0754)
OKLCHoklch(62.68% 0.081 111)
XYZxyz(21.5294, 25.0626, 11.6844)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D52 #55528D
analogous
#8D7252 #8A8D52 #6C8D52
triadic
#8A8D52 #528A8D #8D528A
tetradic
#8A8D52 #528D72 #55528D #8D526C
square
#8A8D52 #528D72 #55528D #8D526C
split-complementary
#8A8D52 #526C8D #72528D
monochromatic
#3E4025 #64663B #8A8D52 #A9AC70 #C0C297

Accessibility & contrast

On white

3.49
#8A8D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8A8D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D52
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D52#FFFFFF#000000##000000
##8A8D521.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95884D
Deuteranopia (green-blind)
#968A55
Tritanopia (blue-blind)
#91877F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8d52;
/* rgb */ color: rgb(138, 141, 82);
/* oklch */ color: oklch(62.7% 0.081 111.0);
Tailwind
colors: {
  custom: {
    50: '#adae83',
    500: '#8a8d52',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d52;
$custom-light: #adae83;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d52",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 63.051,
    "s": 26.457,
    "l": 43.725
  },
  "oklch": {
    "l": 0.62683,
    "c": 0.08075,
    "h": 111
  },
  "luminance": 0.25062
}

Semantic roles & 50–950 ramp

primary
#8A8D52
secondary
#8D8BAF
accent
#65C36A
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8A8D52

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

Preview Lab → · Contrast checker → · Palette generator →

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