#858C1F#858C1F

#858C1F is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.5% C 0.126 H 113.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#858C1F
RGBrgb(133, 140, 31)
HSLhsl(64, 64%, 34%)
HSVhsv(64, 78%, 55%)
CMYKcmyk(5%, 0%, 77.9%, 45.1%)
CIE-LABlab(55.93, -16.16, 52.97)
CIE-LCHlch(55.93, 55.38, 106.97°)
OKLaboklab(61.45% -0.0501 0.1161)
OKLCHoklch(61.45% 0.126 113.3)
XYZxyz(19.2989, 23.8421, 4.8814)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#858C1F #261F8C
analogous
#8C5C1F #858C1F #4E8C1F
triadic
#858C1F #1F858C #8C1F85
tetradic
#858C1F #1F8C5C #261F8C #8C1F4E
square
#858C1F #1F8C5C #261F8C #8C1F4E
split-complementary
#858C1F #1F4E8C #5C1F8C
monochromatic
#262809 #555A14 #858C1F #B5BE2A #CFD84E

Accessibility & contrast

On white

3.64
#858C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#858C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #858C1F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##858C1F#FFFFFF#000000##000000
##858C1F1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978503
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#8E8378
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #858c1f;
/* rgb */ color: rgb(133, 140, 31);
/* oklch */ color: oklch(61.5% 0.126 113.3);
Tailwind
colors: {
  custom: {
    50: '#acad64',
    500: '#858c1f',
    950: '#000000',
  },
}
SCSS
$custom: #858c1f;
$custom-light: #acad64;
$custom-dark: #000000;
JSON
{
  "hex": "#858c1f",
  "rgb": {
    "r": 133,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 63.853,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61454,
    "c": 0.12642,
    "h": 113.3
  },
  "luminance": 0.23842
}

Semantic roles & 50–950 ramp

primary
#858C1F
secondary
#534CBB
accent
#41E74C
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #858C1F

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

Preview Lab → · Contrast checker → · Palette generator →

#858C1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva