#857E17#857E17

#857E17 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.1% C 0.116 H 105.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#857E17
RGBrgb(133, 126, 23)
HSLhsl(56, 71%, 31%)
HSVhsv(56, 83%, 52%)
CMYKcmyk(0%, 5.3%, 82.7%, 47.8%)
CIE-LABlab(51.80, -8.96, 51.81)
CIE-LCHlch(51.80, 52.58, 99.81°)
OKLaboklab(58.15% -0.0307 0.1121)
OKLCHoklch(58.15% 0.116 105.3)
XYZxyz(17.2891, 19.9708, 3.7545)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#857E17 #171E85
analogous
#854717 #857E17 #558517
triadic
#857E17 #17857E #7E1785
tetradic
#857E17 #178547 #171E85 #851755
square
#857E17 #178547 #171E85 #851755
split-complementary
#857E17 #175585 #471785
monochromatic
#1D1B05 #514D0E #857E17 #B9AF20 #DDD23A

Accessibility & contrast

On white

4.21
#857E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#857E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #857E17
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##857E17#FFFFFF#000000##000000
##857E171.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8C7D20
Tritanopia (blue-blind)
#90756B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #857e17;
/* rgb */ color: rgb(133, 126, 23);
/* oklch */ color: oklch(58.1% 0.116 105.3);
Tailwind
colors: {
  custom: {
    50: '#aca35f',
    500: '#857e17',
    950: '#000000',
  },
}
SCSS
$custom: #857e17;
$custom-light: #aca35f;
$custom-dark: #000000;
JSON
{
  "hex": "#857e17",
  "rgb": {
    "r": 133,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 56.182,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58146,
    "c": 0.11618,
    "h": 105.3
  },
  "luminance": 0.1997
}

Semantic roles & 50–950 ramp

primary
#857E17
secondary
#3F47B9
accent
#46ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #857E17

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

Preview Lab → · Contrast checker → · Palette generator →

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