#857E1F#857E1F

#857E1F is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.2% C 0.112 H 105.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#857E1F
RGBrgb(133, 126, 31)
HSLhsl(56, 62%, 32%)
HSVhsv(56, 77%, 52%)
CMYKcmyk(0%, 5.3%, 76.7%, 47.8%)
CIE-LABlab(51.85, -8.63, 49.17)
CIE-LCHlch(51.85, 49.93, 99.96°)
OKLaboklab(58.19% -0.029 0.108)
OKLCHoklch(58.19% 0.112 105.1)
XYZxyz(17.3818, 20.0079, 4.2424)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#857E1F #1F2685
analogous
#854B1F #857E1F #59851F
triadic
#857E1F #1F857E #7E1F85
tetradic
#857E1F #1F854B #1F2685 #851F59
square
#857E1F #1F854B #1F2685 #851F59
split-complementary
#857E1F #1F5985 #4B1F85
monochromatic
#222008 #534F13 #857E1F #B7AD2B #D5CB4A

Accessibility & contrast

On white

4.20
#857E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#857E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #857E1F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##857E1F#FFFFFF#000000##000000
##857E1F1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A790B
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#8F756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #857e1f;
/* rgb */ color: rgb(133, 126, 31);
/* oklch */ color: oklch(58.2% 0.112 105.1);
Tailwind
colors: {
  custom: {
    50: '#aca363',
    500: '#857e1f',
    950: '#000000',
  },
}
SCSS
$custom: #857e1f;
$custom-light: #aca363;
$custom-dark: #000000;
JSON
{
  "hex": "#857e1f",
  "rgb": {
    "r": 133,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 55.882,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58192,
    "c": 0.11187,
    "h": 105.1
  },
  "luminance": 0.20007
}

Semantic roles & 50–950 ramp

primary
#857E1F
secondary
#4950B7
accent
#4EE543
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #857E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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