#838470#838470

#838470 is a mid, muted yellow. Relative luminance 0.225; OKLCH L 60.7% C 0.029 H 109.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#838470
RGBrgb(131, 132, 112)
HSLhsl(63, 8%, 48%)
HSVhsv(63, 15%, 52%)
CMYKcmyk(0.8%, 0%, 15.2%, 48.2%)
CIE-LABlab(54.55, -4.07, 10.69)
CIE-LCHlch(54.55, 11.44, 110.85°)
OKLaboklab(60.67% -0.0098 0.0276)
OKLCHoklch(60.67% 0.029 109.6)
XYZxyz(20.5357, 22.4978, 18.5868)
Luminance0.2250 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838470 #717084
analogous
#847B70 #838470 #798470
triadic
#838470 #708384 #847083
tetradic
#838470 #70847B #717084 #847079
square
#838470 #70847B #717084 #847079
split-complementary
#838470 #707984 #7B7084
monochromatic
#414238 #626354 #838470 #A0A190 #BCBDB1

Accessibility & contrast

On white

3.82
#838470 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#838470 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838470
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838470#FFFFFF#000000##000000
##8384701.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88826F
Deuteranopia (green-blind)
#888371
Tritanopia (blue-blind)
#86817E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #838470;
/* rgb */ color: rgb(131, 132, 112);
/* oklch */ color: oklch(60.7% 0.029 109.6);
Tailwind
colors: {
  custom: {
    50: '#a7a799',
    500: '#838470',
    950: '#000000',
  },
}
SCSS
$custom: #838470;
$custom-light: #a7a799;
$custom-dark: #000000;
JSON
{
  "hex": "#838470",
  "rgb": {
    "r": 131,
    "g": 132,
    "b": 112
  },
  "hsl": {
    "h": 63,
    "s": 8.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.60674,
    "c": 0.02929,
    "h": 109.6
  },
  "luminance": 0.22498
}

Semantic roles & 50–950 ramp

primary
#838470
secondary
#A3A3AD
accent
#77B17A
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#0F0F0D
muted
#7F7F7E

Preview Lab

Preview with #838470

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

Preview Lab → · Contrast checker → · Palette generator →

#838470 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva