#838047#838047

#838047 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.9% C 0.078 H 105.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#838047
RGBrgb(131, 128, 71)
HSLhsl(57, 30%, 40%)
HSVhsv(57, 46%, 51%)
CMYKcmyk(0%, 2.3%, 45.8%, 48.6%)
CIE-LABlab(52.64, -7.58, 31.23)
CIE-LCHlch(52.64, 32.13, 103.65°)
OKLaboklab(58.91% -0.0214 0.0751)
OKLCHoklch(58.91% 0.078 105.9)
XYZxyz(18.2169, 20.7190, 8.9996)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838047 #474A83
analogous
#836247 #838047 #688347
triadic
#838047 #478380 #804783
tetradic
#838047 #478362 #474A83 #834768
square
#838047 #478362 #474A83 #834768
split-complementary
#838047 #476883 #624783
monochromatic
#34321C #5B5931 #838047 #A8A55F #BEBB87

Accessibility & contrast

On white

4.08
#838047 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#838047 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838047
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838047#FFFFFF#000000##000000
##8380471.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C42
Deuteranopia (green-blind)
#8A7F4A
Tritanopia (blue-blind)
#8B7972
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #838047;
/* rgb */ color: rgb(131, 128, 71);
/* oklch */ color: oklch(58.9% 0.078 105.9);
Tailwind
colors: {
  custom: {
    50: '#a8a47b',
    500: '#838047',
    950: '#000000',
  },
}
SCSS
$custom: #838047;
$custom-light: #a8a47b;
$custom-dark: #000000;
JSON
{
  "hex": "#838047",
  "rgb": {
    "r": 131,
    "g": 128,
    "b": 71
  },
  "hsl": {
    "h": 57,
    "s": 29.703,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58909,
    "c": 0.07811,
    "h": 105.9
  },
  "luminance": 0.20719
}

Semantic roles & 50–950 ramp

primary
#838047
secondary
#7C7FA9
accent
#67C662
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #838047

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

Preview Lab → · Contrast checker → · Palette generator →

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