#857F18#857F18

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

Color values

HEX#857F18
RGBrgb(133, 127, 24)
HSLhsl(57, 69%, 31%)
HSVhsv(57, 82%, 52%)
CMYKcmyk(0%, 4.5%, 82%, 47.8%)
CIE-LABlab(52.10, -9.47, 51.76)
CIE-LCHlch(52.10, 52.62, 100.37°)
OKLaboklab(58.38% -0.032 0.1122)
OKLCHoklch(58.38% 0.117 105.9)
XYZxyz(17.4279, 20.2319, 3.8511)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#857F18 #181E85
analogous
#854818 #857F18 #548518
triadic
#857F18 #18857F #7F1885
tetradic
#857F18 #188548 #181E85 #851854
square
#857F18 #188548 #181E85 #851854
split-complementary
#857F18 #185485 #481885
monochromatic
#1D1C05 #514D0F #857F18 #B9B121 #DCD33C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##857F18#FFFFFF#000000##000000
##857F181.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)
#8B7A00
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#8F766C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #857f18;
/* rgb */ color: rgb(133, 127, 24);
/* oklch */ color: oklch(58.4% 0.117 105.9);
Tailwind
colors: {
  custom: {
    50: '#aca360',
    500: '#857f18',
    950: '#000000',
  },
}
SCSS
$custom: #857f18;
$custom-light: #aca360;
$custom-dark: #000000;
JSON
{
  "hex": "#857f18",
  "rgb": {
    "r": 133,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 56.697,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58382,
    "c": 0.11664,
    "h": 105.9
  },
  "luminance": 0.20231
}

Semantic roles & 50–950 ramp

primary
#857F18
secondary
#4047B9
accent
#45EC3C
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #857F18

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

Preview Lab → · Contrast checker → · Palette generator →

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