#857F1F#857F1F

#857F1F is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.4% C 0.113 H 105.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#857F1F
RGBrgb(133, 127, 31)
HSLhsl(56, 62%, 32%)
HSVhsv(56, 77%, 52%)
CMYKcmyk(0%, 4.5%, 76.7%, 47.8%)
CIE-LABlab(52.14, -9.18, 49.44)
CIE-LCHlch(52.14, 50.29, 100.52°)
OKLaboklab(58.42% -0.0306 0.1086)
OKLCHoklch(58.42% 0.113 105.7)
XYZxyz(17.5103, 20.2649, 4.2852)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#857F1F #1F2585
analogous
#854C1F #857F1F #58851F
triadic
#857F1F #1F857F #7F1F85
tetradic
#857F1F #1F854C #1F2585 #851F58
square
#857F1F #1F854C #1F2585 #851F58
split-complementary
#857F1F #1F5885 #4C1F85
monochromatic
#222008 #535013 #857F1F #B7AE2B #D5CD4A

Accessibility & contrast

On white

4.16
#857F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#857F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #857F1F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##857F1F#FFFFFF#000000##000000
##857F1F1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0B
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#8F766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #857f1f;
/* rgb */ color: rgb(133, 127, 31);
/* oklch */ color: oklch(58.4% 0.113 105.7);
Tailwind
colors: {
  custom: {
    50: '#aca363',
    500: '#857f1f',
    950: '#000000',
  },
}
SCSS
$custom: #857f1f;
$custom-light: #aca363;
$custom-dark: #000000;
JSON
{
  "hex": "#857f1f",
  "rgb": {
    "r": 133,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 56.471,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58423,
    "c": 0.11284,
    "h": 105.7
  },
  "luminance": 0.20264
}

Semantic roles & 50–950 ramp

primary
#857F1F
secondary
#494FB7
accent
#4CE543
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #857F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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