#8C835F#8C835F

#8C835F is a mid, muted yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.052 H 95.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8C835F
RGBrgb(140, 131, 95)
HSLhsl(48, 19%, 46%)
HSVhsv(48, 32%, 55%)
CMYKcmyk(0%, 6.4%, 32.1%, 45.1%)
CIE-LABlab(54.69, -2.46, 20.73)
CIE-LCHlch(54.69, 20.88, 96.76°)
OKLaboklab(60.86% -0.0052 0.052)
OKLCHoklch(60.86% 0.052 95.7)
XYZxyz(20.9973, 22.6348, 14.0871)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C835F #5F688C
analogous
#8C6C5F #8C835F #7E8C5F
triadic
#8C835F #5F8C83 #835F8C
tetradic
#8C835F #5F8C6C #5F688C #8C5F7E
square
#8C835F #5F8C6C #5F688C #8C5F7E
split-complementary
#8C835F #5F7E8C #6C5F8C
monochromatic
#433F2E #686146 #8C835F #A9A080 #C1BBA4

Accessibility & contrast

On white

3.80
#8C835F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8C835F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C835F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C835F#FFFFFF#000000##000000
##8C835F1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A815D
Deuteranopia (green-blind)
#8D8460
Tritanopia (blue-blind)
#937E7A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8c835f;
/* rgb */ color: rgb(140, 131, 95);
/* oklch */ color: oklch(60.9% 0.052 95.7);
Tailwind
colors: {
  custom: {
    50: '#aea78c',
    500: '#8c835f',
    950: '#000000',
  },
}
SCSS
$custom: #8c835f;
$custom-light: #aea78c;
$custom-dark: #000000;
JSON
{
  "hex": "#8c835f",
  "rgb": {
    "r": 140,
    "g": 131,
    "b": 95
  },
  "hsl": {
    "h": 48,
    "s": 19.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.60859,
    "c": 0.05221,
    "h": 95.7
  },
  "luminance": 0.22634
}

Semantic roles & 50–950 ramp

primary
#8C835F
secondary
#979CB0
accent
#7CBC6C
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#100F0C
muted
#7F7F7D

Preview Lab

Preview with #8C835F

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

Preview Lab → · Contrast checker → · Palette generator →

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