#838155#838155

#838155 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.4% C 0.062 H 105.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#838155
RGBrgb(131, 129, 85)
HSLhsl(57, 21%, 42%)
HSVhsv(57, 35%, 51%)
CMYKcmyk(0%, 1.5%, 35.1%, 48.6%)
CIE-LABlab(53.15, -6.47, 24.17)
CIE-LCHlch(53.15, 25.02, 104.98°)
OKLaboklab(59.38% -0.0171 0.0598)
OKLCHoklch(59.38% 0.062 105.9)
XYZxyz(18.8502, 21.1821, 11.6881)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838155 #555783
analogous
#836A55 #838155 #6E8355
triadic
#838155 #558381 #815583
tetradic
#838155 #55836A #555783 #83556E
square
#838155 #55836A #555783 #83556E
split-complementary
#838155 #556E83 #6A5583
monochromatic
#393825 #5E5C3D #838155 #A3A172 #BBBA97

Accessibility & contrast

On white

4.01
#838155 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#838155 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838155
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838155#FFFFFF#000000##000000
##8381551.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887E52
Deuteranopia (green-blind)
#898057
Tritanopia (blue-blind)
#897C76
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #838155;
/* rgb */ color: rgb(131, 129, 85);
/* oklch */ color: oklch(59.4% 0.062 105.9);
Tailwind
colors: {
  custom: {
    50: '#a8a585',
    500: '#838155',
    950: '#000000',
  },
}
SCSS
$custom: #838155;
$custom-light: #a8a585;
$custom-dark: #000000;
JSON
{
  "hex": "#838155",
  "rgb": {
    "r": 131,
    "g": 129,
    "b": 85
  },
  "hsl": {
    "h": 57.391,
    "s": 21.296,
    "l": 42.353
  },
  "oklch": {
    "l": 0.59383,
    "c": 0.06217,
    "h": 105.9
  },
  "luminance": 0.21182
}

Semantic roles & 50–950 ramp

primary
#838155
secondary
#8B8CA9
accent
#6EBE6A
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F0F0B
muted
#7F7F7C

Preview Lab

Preview with #838155

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

Preview Lab → · Contrast checker → · Palette generator →

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