#857A40#857A40

#857A40 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.079 H 98.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#857A40
RGBrgb(133, 122, 64)
HSLhsl(50, 35%, 39%)
HSVhsv(50, 52%, 52%)
CMYKcmyk(0%, 8.3%, 51.9%, 47.8%)
CIE-LABlab(51.01, -4.07, 33.02)
CIE-LCHlch(51.01, 33.27, 97.02°)
OKLaboklab(57.63% -0.0122 0.0785)
OKLCHoklch(57.63% 0.079 98.8)
XYZxyz(17.5584, 19.2764, 7.6453)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#857A40 #404B85
analogous
#855740 #857A40 #6D8540
triadic
#857A40 #40857A #7A4085
tetradic
#857A40 #408557 #404B85 #85406D
square
#857A40 #408557 #404B85 #85406D
split-complementary
#857A40 #406D85 #574085
monochromatic
#322E18 #5C542C #857A40 #AD9F55 #C1B67E

Accessibility & contrast

On white

4.33
#857A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#857A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #857A40
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##857A40#FFFFFF#000000##000000
##857A401.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84773B
Deuteranopia (green-blind)
#877B42
Tritanopia (blue-blind)
#8E736C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #857a40;
/* rgb */ color: rgb(133, 122, 64);
/* oklch */ color: oklch(57.6% 0.079 98.8);
Tailwind
colors: {
  custom: {
    50: '#aaa076',
    500: '#857a40',
    950: '#000000',
  },
}
SCSS
$custom: #857a40;
$custom-light: #aaa076;
$custom-dark: #000000;
JSON
{
  "hex": "#857a40",
  "rgb": {
    "r": 133,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 50.435,
    "s": 35.025,
    "l": 38.627
  },
  "oklch": {
    "l": 0.57627,
    "c": 0.07944,
    "h": 98.8
  },
  "luminance": 0.19276
}

Semantic roles & 50–950 ramp

primary
#857A40
secondary
#757EAC
accent
#6ECB5D
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100E08
muted
#7F7E7B

Preview Lab

Preview with #857A40

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

Preview Lab → · Contrast checker → · Palette generator →

#857A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva