#857F17#857F17

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

Color values

HEX#857F17
RGBrgb(133, 127, 23)
HSLhsl(57, 71%, 31%)
HSVhsv(57, 83%, 52%)
CMYKcmyk(0%, 4.5%, 82.7%, 47.8%)
CIE-LABlab(52.09, -9.51, 52.06)
CIE-LCHlch(52.09, 52.92, 100.35°)
OKLaboklab(58.38% -0.0322 0.1126)
OKLCHoklch(58.38% 0.117 106)
XYZxyz(17.4177, 20.2278, 3.7973)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#857F17 #171D85
analogous
#854817 #857F17 #548517
triadic
#857F17 #17857F #7F1785
tetradic
#857F17 #178548 #171D85 #851754
square
#857F17 #178548 #171D85 #851754
split-complementary
#857F17 #175485 #481785
monochromatic
#1D1B05 #514D0E #857F17 #B9B120 #DDD43A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##857F17#FFFFFF#000000##000000
##857F171.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)
#8D7E20
Tritanopia (blue-blind)
#8F766C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #857f17;
/* rgb */ color: rgb(133, 127, 23);
/* oklch */ color: oklch(58.4% 0.117 106.0);
Tailwind
colors: {
  custom: {
    50: '#aca35f',
    500: '#857f17',
    950: '#000000',
  },
}
SCSS
$custom: #857f17;
$custom-light: #aca35f;
$custom-dark: #000000;
JSON
{
  "hex": "#857f17",
  "rgb": {
    "r": 133,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 56.727,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58376,
    "c": 0.11712,
    "h": 106
  },
  "luminance": 0.20227
}

Semantic roles & 50–950 ramp

primary
#857F17
secondary
#3F45B9
accent
#44ED3B
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #857F17

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

Preview Lab → · Contrast checker → · Palette generator →

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