#858C2F#858C2F

#858C2F is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.6% C 0.116 H 113.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#858C2F
RGBrgb(133, 140, 47)
HSLhsl(65, 50%, 37%)
HSVhsv(65, 66%, 55%)
CMYKcmyk(5%, 0%, 66.4%, 45.1%)
CIE-LABlab(56.04, -15.28, 46.92)
CIE-LCHlch(56.04, 49.35, 108.04°)
OKLaboklab(61.57% -0.046 0.1062)
OKLCHoklch(61.57% 0.116 113.4)
XYZxyz(19.5646, 23.9483, 6.2806)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#858C2F #362F8C
analogous
#8C652F #858C2F #578C2F
triadic
#858C2F #2F858C #8C2F85
tetradic
#858C2F #2F8C65 #362F8C #8C2F57
square
#858C2F #2F8C65 #362F8C #8C2F57
split-complementary
#858C2F #2F578C #652F8C
monochromatic
#2E3010 #595E20 #858C2F #B1BA3E #C5CD69

Accessibility & contrast

On white

3.63
#858C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#858C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #858C2F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##858C2F#FFFFFF#000000##000000
##858C2F1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968522
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#8E8479
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #858c2f;
/* rgb */ color: rgb(133, 140, 47);
/* oklch */ color: oklch(61.6% 0.116 113.4);
Tailwind
colors: {
  custom: {
    50: '#abad6d',
    500: '#858c2f',
    950: '#000000',
  },
}
SCSS
$custom: #858c2f;
$custom-light: #abad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#858c2f",
  "rgb": {
    "r": 133,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 64.516,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61574,
    "c": 0.11571,
    "h": 113.4
  },
  "luminance": 0.23948
}

Semantic roles & 50–950 ramp

primary
#858C2F
secondary
#6963B4
accent
#4FD959
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #858C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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