#838056#838056

#838056 is a mid, muted yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.060 H 104.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#838056
RGBrgb(131, 128, 86)
HSLhsl(56, 21%, 43%)
HSVhsv(56, 34%, 51%)
CMYKcmyk(0%, 2.3%, 34.4%, 48.6%)
CIE-LABlab(52.88, -5.78, 23.26)
CIE-LCHlch(52.88, 23.96, 103.96°)
OKLaboklab(59.18% -0.015 0.0577)
OKLCHoklch(59.18% 0.06 104.6)
XYZxyz(18.7591, 20.9359, 11.8551)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838056 #565983
analogous
#836956 #838056 #6F8356
triadic
#838056 #568380 #805683
tetradic
#838056 #568369 #565983 #83566F
square
#838056 #568369 #565983 #83566F
split-complementary
#838056 #566F83 #695683
monochromatic
#393825 #5E5C3E #838056 #A3A073 #BBB998

Accessibility & contrast

On white

4.05
#838056 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#838056 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838056
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838056#FFFFFF#000000##000000
##8380561.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877D53
Deuteranopia (green-blind)
#887F58
Tritanopia (blue-blind)
#897B75
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #838056;
/* rgb */ color: rgb(131, 128, 86);
/* oklch */ color: oklch(59.2% 0.060 104.6);
Tailwind
colors: {
  custom: {
    50: '#a8a486',
    500: '#838056',
    950: '#000000',
  },
}
SCSS
$custom: #838056;
$custom-light: #a8a486;
$custom-dark: #000000;
JSON
{
  "hex": "#838056",
  "rgb": {
    "r": 131,
    "g": 128,
    "b": 86
  },
  "hsl": {
    "h": 56,
    "s": 20.737,
    "l": 42.549
  },
  "oklch": {
    "l": 0.59176,
    "c": 0.0596,
    "h": 104.6
  },
  "luminance": 0.20936
}

Semantic roles & 50–950 ramp

primary
#838056
secondary
#8C8EA9
accent
#70BD6A
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F0F0B
muted
#7F7F7C

Preview Lab

Preview with #838056

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

Preview Lab → · Contrast checker → · Palette generator →

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