#838757#838757

#838757 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.068 H 112.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#838757
RGBrgb(131, 135, 87)
HSLhsl(65, 22%, 44%)
HSVhsv(65, 36%, 53%)
CMYKcmyk(3%, 0%, 35.6%, 47.1%)
CIE-LABlab(54.91, -9.52, 25.36)
CIE-LCHlch(54.91, 27.08, 110.58°)
OKLaboklab(60.79% -0.0257 0.0626)
OKLCHoklch(60.79% 0.068 112.3)
XYZxyz(19.7445, 22.8416, 12.3837)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838757 #5B5787
analogous
#877357 #838757 #6B8757
triadic
#838757 #578387 #875783
tetradic
#838757 #578773 #5B5787 #87576B
square
#838757 #578773 #5B5787 #87576B
split-complementary
#838757 #576B87 #735787
monochromatic
#3B3D27 #5F623F #838757 #A2A675 #BBBE9A

Accessibility & contrast

On white

3.77
#838757 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#838757 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838757
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838757#FFFFFF#000000##000000
##8387571.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8354
Deuteranopia (green-blind)
#8E8459
Tritanopia (blue-blind)
#89827B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #838757;
/* rgb */ color: rgb(131, 135, 87);
/* oklch */ color: oklch(60.8% 0.068 112.3);
Tailwind
colors: {
  custom: {
    50: '#a8a987',
    500: '#838757',
    950: '#000000',
  },
}
SCSS
$custom: #838757;
$custom-light: #a8a987;
$custom-dark: #000000;
JSON
{
  "hex": "#838757",
  "rgb": {
    "r": 131,
    "g": 135,
    "b": 87
  },
  "hsl": {
    "h": 65,
    "s": 21.622,
    "l": 43.529
  },
  "oklch": {
    "l": 0.60793,
    "c": 0.06766,
    "h": 112.3
  },
  "luminance": 0.22841
}

Semantic roles & 50–950 ramp

primary
#838757
secondary
#918EAC
accent
#6ABE71
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #838757

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

Preview Lab → · Contrast checker → · Palette generator →

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