#838847#838847

#838847 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.8% C 0.088 H 112.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#838847
RGBrgb(131, 136, 71)
HSLhsl(65, 31%, 41%)
HSVhsv(65, 48%, 53%)
CMYKcmyk(3.7%, 0%, 47.8%, 46.7%)
CIE-LABlab(54.96, -11.96, 34.07)
CIE-LCHlch(54.96, 36.11, 109.34°)
OKLaboklab(60.75% -0.0339 0.0814)
OKLCHoklch(60.75% 0.088 112.6)
XYZxyz(19.3019, 22.8889, 9.3612)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838847 #4C4788
analogous
#886C47 #838847 #628847
triadic
#838847 #478388 #884783
tetradic
#838847 #47886C #4C4788 #884762
square
#838847 #47886C #4C4788 #884762
split-complementary
#838847 #476288 #6C4788
monochromatic
#36381D #5C6032 #838847 #A6AC60 #BDC188

Accessibility & contrast

On white

3.76
#838847 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#838847 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838847
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838847#FFFFFF#000000##000000
##8388471.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908341
Deuteranopia (green-blind)
#90844A
Tritanopia (blue-blind)
#8A8179
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #838847;
/* rgb */ color: rgb(131, 136, 71);
/* oklch */ color: oklch(60.8% 0.088 112.6);
Tailwind
colors: {
  custom: {
    50: '#a8aa7c',
    500: '#838847',
    950: '#000000',
  },
}
SCSS
$custom: #838847;
$custom-light: #a8aa7c;
$custom-dark: #000000;
JSON
{
  "hex": "#838847",
  "rgb": {
    "r": 131,
    "g": 136,
    "b": 71
  },
  "hsl": {
    "h": 64.615,
    "s": 31.401,
    "l": 40.588
  },
  "oklch": {
    "l": 0.60753,
    "c": 0.08821,
    "h": 112.6
  },
  "luminance": 0.22889
}

Semantic roles & 50–950 ramp

primary
#838847
secondary
#827EAD
accent
#60C868
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #838847

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

Preview Lab → · Contrast checker → · Palette generator →

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