#838158#838158

#838158 is a mid, muted yellow. Relative luminance 0.212; OKLCH L 59.4% C 0.058 H 105.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#838158
RGBrgb(131, 129, 88)
HSLhsl(57, 20%, 43%)
HSVhsv(57, 33%, 51%)
CMYKcmyk(0%, 1.5%, 32.8%, 48.6%)
CIE-LABlab(53.20, -6.07, 22.55)
CIE-LCHlch(53.20, 23.36, 105.07°)
OKLaboklab(59.44% -0.0157 0.0561)
OKLCHoklch(59.44% 0.058 105.7)
XYZxyz(18.9719, 21.2308, 12.3292)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838158 #585A83
analogous
#836B58 #838158 #6F8358
triadic
#838158 #588381 #815883
tetradic
#838158 #58836B #585A83 #83586F
square
#838158 #58836B #585A83 #83586F
split-complementary
#838158 #586F83 #6B5883
monochromatic
#3A3927 #5E5D3F #838158 #A3A176 #BBBA9A

Accessibility & contrast

On white

4.00
#838158 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#838158 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838158
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838158#FFFFFF#000000##000000
##8381581.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887E55
Deuteranopia (green-blind)
#89805A
Tritanopia (blue-blind)
#897C76
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #838158;
/* rgb */ color: rgb(131, 129, 88);
/* oklch */ color: oklch(59.4% 0.058 105.7);
Tailwind
colors: {
  custom: {
    50: '#a7a587',
    500: '#838158',
    950: '#000000',
  },
}
SCSS
$custom: #838158;
$custom-light: #a7a587;
$custom-dark: #000000;
JSON
{
  "hex": "#838158",
  "rgb": {
    "r": 131,
    "g": 129,
    "b": 88
  },
  "hsl": {
    "h": 57.209,
    "s": 19.635,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59443,
    "c": 0.05828,
    "h": 105.7
  },
  "luminance": 0.2123
}

Semantic roles & 50–950 ramp

primary
#838158
secondary
#8E8FA9
accent
#6FBC6C
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F0F0B
muted
#7F7F7C

Preview Lab

Preview with #838158

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

Preview Lab → · Contrast checker → · Palette generator →

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