#838352#838352

#838352 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.8% C 0.069 H 108.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#838352
RGBrgb(131, 131, 82)
HSLhsl(60, 23%, 42%)
HSVhsv(60, 37%, 51%)
CMYKcmyk(0%, 0%, 37.4%, 48.6%)
CIE-LABlab(53.67, -7.96, 26.52)
CIE-LCHlch(53.67, 27.69, 106.71°)
OKLaboklab(59.78% -0.0215 0.0651)
OKLCHoklch(59.78% 0.069 108.3)
XYZxyz(18.9996, 21.6674, 11.1624)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838352 #525283
analogous
#836B52 #838352 #6B8352
triadic
#838352 #528383 #835283
tetradic
#838352 #52836B #525283 #83526B
square
#838352 #52836B #525283 #83526B
split-complementary
#838352 #526B83 #6B5283
monochromatic
#383823 #5D5D3A #838352 #A4A46E #BCBC94

Accessibility & contrast

On white

3.94
#838352 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#838352 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838352
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838352#FFFFFF#000000##000000
##8383521.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4E
Deuteranopia (green-blind)
#8B8154
Tritanopia (blue-blind)
#8A7D77
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #838352;
/* rgb */ color: rgb(131, 131, 82);
/* oklch */ color: oklch(59.8% 0.069 108.3);
Tailwind
colors: {
  custom: {
    50: '#a8a783',
    500: '#838352',
    950: '#000000',
  },
}
SCSS
$custom: #838352;
$custom-light: #a8a783;
$custom-dark: #000000;
JSON
{
  "hex": "#838352",
  "rgb": {
    "r": 131,
    "g": 131,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 23.005,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59783,
    "c": 0.06857,
    "h": 108.3
  },
  "luminance": 0.21667
}

Semantic roles & 50–950 ramp

primary
#838352
secondary
#8888A9
accent
#68BF68
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #838352

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

Preview Lab → · Contrast checker → · Palette generator →

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