#857D17#857D17

#857D17 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.9% C 0.115 H 104.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#857D17
RGBrgb(133, 125, 23)
HSLhsl(56, 71%, 31%)
HSVhsv(56, 83%, 52%)
CMYKcmyk(0%, 6%, 82.7%, 47.8%)
CIE-LABlab(51.51, -8.41, 51.55)
CIE-LCHlch(51.51, 52.24, 99.26°)
OKLaboklab(57.92% -0.0292 0.1115)
OKLCHoklch(57.92% 0.115 104.7)
XYZxyz(17.1619, 19.7163, 3.7121)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#857D17 #171F85
analogous
#854617 #857D17 #568517
triadic
#857D17 #17857D #7D1785
tetradic
#857D17 #178546 #171F85 #851756
square
#857D17 #178546 #171F85 #851756
split-complementary
#857D17 #175685 #461785
monochromatic
#1D1B05 #514C0E #857D17 #B9AE20 #DDD13A

Accessibility & contrast

On white

4.25
#857D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#857D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #857D17
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##857D17#FFFFFF#000000##000000
##857D171.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8C7D20
Tritanopia (blue-blind)
#90746A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #857d17;
/* rgb */ color: rgb(133, 125, 23);
/* oklch */ color: oklch(57.9% 0.115 104.7);
Tailwind
colors: {
  custom: {
    50: '#aca25f',
    500: '#857d17',
    950: '#000000',
  },
}
SCSS
$custom: #857d17;
$custom-light: #aca25f;
$custom-dark: #000000;
JSON
{
  "hex": "#857d17",
  "rgb": {
    "r": 133,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 55.636,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57915,
    "c": 0.11526,
    "h": 104.7
  },
  "luminance": 0.19716
}

Semantic roles & 50–950 ramp

primary
#857D17
secondary
#3F48B9
accent
#48ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #857D17

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

Preview Lab → · Contrast checker → · Palette generator →

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