#8E985B#8E985B

#8E985B is a light, moderate yellow. Relative luminance 0.290; OKLCH L 65.7% C 0.084 H 116.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8E985B
RGBrgb(142, 152, 91)
HSLhsl(70, 25%, 48%)
HSVhsv(70, 40%, 60%)
CMYKcmyk(6.6%, 0%, 40.1%, 40.4%)
CIE-LABlab(60.75, -13.59, 30.88)
CIE-LCHlch(60.75, 33.74, 113.76°)
OKLaboklab(65.69% -0.0374 0.0754)
OKLCHoklch(65.69% 0.084 116.4)
XYZxyz(24.2720, 28.9628, 14.2072)
Luminance0.2896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E985B #655B98
analogous
#98835B #8E985B #6F985B
triadic
#8E985B #5B8E98 #985B8E
tetradic
#8E985B #5B9883 #655B98 #985B6F
square
#8E985B #5B9883 #655B98 #985B6F
split-complementary
#8E985B #5B6F98 #835B98
monochromatic
#464B2D #6A7244 #8E985B #A9B27E #C3C9A5

Accessibility & contrast

On white

3.09
#8E985B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#8E985B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E985B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E985B#FFFFFF#000000##000000
##8E985B1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09256
Deuteranopia (green-blind)
#9F935E
Tritanopia (blue-blind)
#949289
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8e985b;
/* rgb */ color: rgb(142, 152, 91);
/* oklch */ color: oklch(65.7% 0.084 116.4);
Tailwind
colors: {
  custom: {
    50: '#b0b68a',
    500: '#8e985b',
    950: '#000000',
  },
}
SCSS
$custom: #8e985b;
$custom-light: #b0b68a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e985b",
  "rgb": {
    "r": 142,
    "g": 152,
    "b": 91
  },
  "hsl": {
    "h": 69.836,
    "s": 25.103,
    "l": 47.647
  },
  "oklch": {
    "l": 0.65686,
    "c": 0.0842,
    "h": 116.4
  },
  "luminance": 0.28963
}

Semantic roles & 50–950 ramp

primary
#8E985B
secondary
#9D98B7
accent
#66C275
background
#FAFBF8
surface
#F5F6F0
border
#CFD0CB
text
#10110C
muted
#7F807D

Preview Lab

Preview with #8E985B

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

Preview Lab → · Contrast checker → · Palette generator →

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