#857D18#857D18

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

Color values

HEX#857D18
RGBrgb(133, 125, 24)
HSLhsl(56, 69%, 31%)
HSVhsv(56, 82%, 52%)
CMYKcmyk(0%, 6%, 82%, 47.8%)
CIE-LABlab(51.52, -8.37, 51.25)
CIE-LCHlch(51.52, 51.93, 99.28°)
OKLaboklab(57.92% -0.029 0.1111)
OKLCHoklch(57.92% 0.115 104.6)
XYZxyz(17.1721, 19.7204, 3.7659)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#857D18 #182085
analogous
#854618 #857D18 #568518
triadic
#857D18 #18857D #7D1885
tetradic
#857D18 #188546 #182085 #851856
square
#857D18 #188546 #182085 #851856
split-complementary
#857D18 #185685 #461885
monochromatic
#1D1C05 #514C0F #857D18 #B9AE21 #DCD03C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##857D18#FFFFFF#000000##000000
##857D181.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)
#8C7D21
Tritanopia (blue-blind)
#90746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #857d18;
/* rgb */ color: rgb(133, 125, 24);
/* oklch */ color: oklch(57.9% 0.115 104.6);
Tailwind
colors: {
  custom: {
    50: '#aca25f',
    500: '#857d18',
    950: '#000000',
  },
}
SCSS
$custom: #857d18;
$custom-light: #aca25f;
$custom-dark: #000000;
JSON
{
  "hex": "#857d18",
  "rgb": {
    "r": 133,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 55.596,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57921,
    "c": 0.11478,
    "h": 104.6
  },
  "luminance": 0.1972
}

Semantic roles & 50–950 ramp

primary
#857D18
secondary
#4049B9
accent
#49EC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #857D18

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

Preview Lab → · Contrast checker → · Palette generator →

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