#8A8D4E#8A8D4E

#8A8D4E is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.6% C 0.085 H 111.0°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A8D4E
RGBrgb(138, 141, 78)
HSLhsl(63, 29%, 43%)
HSVhsv(63, 45%, 55%)
CMYKcmyk(2.1%, 0%, 44.7%, 44.7%)
CIE-LABlab(57.08, -10.90, 33.12)
CIE-LCHlch(57.08, 34.86, 108.22°)
OKLaboklab(62.62% -0.0306 0.0797)
OKLCHoklch(62.62% 0.085 111)
XYZxyz(21.3816, 25.0035, 10.9060)
Luminance0.2500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D4E #514E8D
analogous
#8D704E #8A8D4E #6A8D4E
triadic
#8A8D4E #4E8A8D #8D4E8A
tetradic
#8A8D4E #4E8D70 #514E8D #8D4E6A
square
#8A8D4E #4E8D70 #514E8D #8D4E6A
split-complementary
#8A8D4E #4E6A8D #704E8D
monochromatic
#3D3E22 #636638 #8A8D4E #AAAD6B #C1C392

Accessibility & contrast

On white

3.50
#8A8D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8A8D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D4E
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D4E#FFFFFF#000000##000000
##8A8D4E1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968849
Deuteranopia (green-blind)
#968A51
Tritanopia (blue-blind)
#91867E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8d4e;
/* rgb */ color: rgb(138, 141, 78);
/* oklch */ color: oklch(62.6% 0.085 111.0);
Tailwind
colors: {
  custom: {
    50: '#adae81',
    500: '#8a8d4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d4e;
$custom-light: #adae81;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d4e",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 62.857,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.62618,
    "c": 0.08542,
    "h": 111
  },
  "luminance": 0.25003
}

Semantic roles & 50–950 ramp

primary
#8A8D4E
secondary
#8987AF
accent
#63C567
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #8A8D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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