#8A8E39#8A8E39

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

Color values

HEX#8A8E39
RGBrgb(138, 142, 57)
HSLhsl(63, 43%, 39%)
HSVhsv(63, 60%, 56%)
CMYKcmyk(2.8%, 0%, 59.9%, 44.3%)
CIE-LABlab(57.12, -13.41, 43.71)
CIE-LCHlch(57.12, 45.72, 107.06°)
OKLaboklab(62.57% -0.04 0.1007)
OKLCHoklch(62.57% 0.108 111.6)
XYZxyz(20.8933, 25.0451, 7.6037)
Luminance0.2505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E39 #3D398E
analogous
#8E6839 #8A8E39 #608E39
triadic
#8A8E39 #398A8E #8E398A
tetradic
#8A8E39 #398E68 #3D398E #8E3960
square
#8A8E39 #398E68 #3D398E #8E3960
split-complementary
#8A8E39 #39608E #68398E
monochromatic
#353716 #606227 #8A8E39 #B2B74D #C5C978

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8E39#FFFFFF#000000##000000
##8A8E391.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)
#988830
Deuteranopia (green-blind)
#998A3E
Tritanopia (blue-blind)
#93867C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8e39;
/* rgb */ color: rgb(138, 142, 57);
/* oklch */ color: oklch(62.6% 0.108 111.6);
Tailwind
colors: {
  custom: {
    50: '#aeae73',
    500: '#8a8e39',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e39;
$custom-light: #aeae73;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e39",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 57
  },
  "hsl": {
    "h": 62.824,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6257,
    "c": 0.10834,
    "h": 111.6
  },
  "luminance": 0.25045
}

Semantic roles & 50–950 ramp

primary
#8A8E39
secondary
#7471B2
accent
#55D25B
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8E39

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

Preview Lab → · Contrast checker → · Palette generator →

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