#8A8D39#8A8D39

#8A8D39 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.3% C 0.107 H 111.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8A8D39
RGBrgb(138, 141, 57)
HSLhsl(62, 42%, 39%)
HSVhsv(62, 60%, 55%)
CMYKcmyk(2.1%, 0%, 59.6%, 44.7%)
CIE-LABlab(56.83, -12.88, 43.39)
CIE-LCHlch(56.83, 45.26, 106.53°)
OKLaboklab(62.34% -0.0385 0.1)
OKLCHoklch(62.34% 0.107 111)
XYZxyz(20.7452, 24.7489, 7.5543)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D39 #3C398D
analogous
#8D6639 #8A8D39 #608D39
triadic
#8A8D39 #398A8D #8D398A
tetradic
#8A8D39 #398D66 #3C398D #8D3960
square
#8A8D39 #398D66 #3C398D #8D3960
split-complementary
#8A8D39 #39608D #66398D
monochromatic
#353616 #5F6127 #8A8D39 #B3B74C #C6C878

Accessibility & contrast

On white

3.53
#8A8D39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8A8D39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D39
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D39#FFFFFF#000000##000000
##8A8D391.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978730
Deuteranopia (green-blind)
#988A3E
Tritanopia (blue-blind)
#93857B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d39;
/* rgb */ color: rgb(138, 141, 57);
/* oklch */ color: oklch(62.3% 0.107 111.0);
Tailwind
colors: {
  custom: {
    50: '#aeae73',
    500: '#8a8d39',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d39;
$custom-light: #aeae73;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d39",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 57
  },
  "hsl": {
    "h": 62.143,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62339,
    "c": 0.10716,
    "h": 111
  },
  "luminance": 0.24748
}

Semantic roles & 50–950 ramp

primary
#8A8D39
secondary
#7370B2
accent
#56D25A
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8D39

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

Preview Lab → · Contrast checker → · Palette generator →

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