#838951#838951

#838951 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.1% C 0.078 H 113.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#838951
RGBrgb(131, 137, 81)
HSLhsl(66, 26%, 43%)
HSVhsv(66, 41%, 54%)
CMYKcmyk(4.4%, 0%, 40.9%, 46.3%)
CIE-LABlab(55.39, -11.36, 29.27)
CIE-LCHlch(55.39, 31.40, 111.22°)
OKLaboklab(61.15% -0.0313 0.0713)
OKLCHoklch(61.15% 0.078 113.7)
XYZxyz(19.7911, 23.3109, 11.2399)
Luminance0.2331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838951 #575189
analogous
#897351 #838951 #678951
triadic
#838951 #518389 #895183
tetradic
#838951 #518973 #575189 #895167
square
#838951 #518973 #575189 #895167
split-complementary
#838951 #516789 #735189
monochromatic
#393C24 #5E633A #838951 #A3A96E #BBC094

Accessibility & contrast

On white

3.71
#838951 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#838951 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838951
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838951#FFFFFF#000000##000000
##8389511.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91844D
Deuteranopia (green-blind)
#908554
Tritanopia (blue-blind)
#89837B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #838951;
/* rgb */ color: rgb(131, 137, 81);
/* oklch */ color: oklch(61.1% 0.078 113.7);
Tailwind
colors: {
  custom: {
    50: '#a8ab83',
    500: '#838951',
    950: '#000000',
  },
}
SCSS
$custom: #838951;
$custom-light: #a8ab83;
$custom-dark: #000000;
JSON
{
  "hex": "#838951",
  "rgb": {
    "r": 131,
    "g": 137,
    "b": 81
  },
  "hsl": {
    "h": 66.429,
    "s": 25.688,
    "l": 42.745
  },
  "oklch": {
    "l": 0.61146,
    "c": 0.07791,
    "h": 113.7
  },
  "luminance": 0.23311
}

Semantic roles & 50–950 ramp

primary
#838951
secondary
#8D89AD
accent
#66C270
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #838951

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

Preview Lab → · Contrast checker → · Palette generator →

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