#857F1B#857F1B

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

Color values

HEX#857F1B
RGBrgb(133, 127, 27)
HSLhsl(57, 66%, 31%)
HSVhsv(57, 80%, 52%)
CMYKcmyk(0%, 4.5%, 79.7%, 47.8%)
CIE-LABlab(52.11, -9.36, 50.81)
CIE-LCHlch(52.11, 51.67, 100.43°)
OKLaboklab(58.4% -0.0315 0.1107)
OKLCHoklch(58.4% 0.115 105.9)
XYZxyz(17.4608, 20.2451, 4.0246)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#857F1B #1B2185
analogous
#854A1B #857F1B #56851B
triadic
#857F1B #1B857F #7F1B85
tetradic
#857F1B #1B854A #1B2185 #851B56
square
#857F1B #1B854A #1B2185 #851B56
split-complementary
#857F1B #1B5685 #4A1B85
monochromatic
#1F1E06 #524E11 #857F1B #B8B025 #D9D042

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##857F1B#FFFFFF#000000##000000
##857F1B1.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)
#8B7A01
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#8F766C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #857f1b;
/* rgb */ color: rgb(133, 127, 27);
/* oklch */ color: oklch(58.4% 0.115 105.9);
Tailwind
colors: {
  custom: {
    50: '#aca361',
    500: '#857f1b',
    950: '#000000',
  },
}
SCSS
$custom: #857f1b;
$custom-light: #aca361;
$custom-dark: #000000;
JSON
{
  "hex": "#857f1b",
  "rgb": {
    "r": 133,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 56.604,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58398,
    "c": 0.11511,
    "h": 105.9
  },
  "luminance": 0.20244
}

Semantic roles & 50–950 ramp

primary
#857F1B
secondary
#444AB8
accent
#48E93F
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #857F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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