#858D27#858D27

#858D27 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.7% C 0.123 H 113.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#858D27
RGBrgb(133, 141, 39)
HSLhsl(65, 57%, 35%)
HSVhsv(65, 72%, 55%)
CMYKcmyk(5.7%, 0%, 72.3%, 44.7%)
CIE-LABlab(56.27, -16.29, 50.42)
CIE-LCHlch(56.27, 52.99, 107.91°)
OKLaboklab(61.74% -0.0497 0.1122)
OKLCHoklch(61.74% 0.123 113.9)
XYZxyz(19.5645, 24.1832, 5.5563)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#858D27 #2F278D
analogous
#8D6227 #858D27 #528D27
triadic
#858D27 #27858D #8D2785
tetradic
#858D27 #278D62 #2F278D #8D2752
square
#858D27 #278D62 #2F278D #8D2752
split-complementary
#858D27 #27528D #62278D
monochromatic
#2B2D0C #585D1A #858D27 #B2BD34 #C9D25C

Accessibility & contrast

On white

3.60
#858D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#858D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #858D27
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##858D27#FFFFFF#000000##000000
##858D271.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988615
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#8E8479
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #858d27;
/* rgb */ color: rgb(133, 141, 39);
/* oklch */ color: oklch(61.7% 0.123 113.9);
Tailwind
colors: {
  custom: {
    50: '#abae68',
    500: '#858d27',
    950: '#000000',
  },
}
SCSS
$custom: #858d27;
$custom-light: #abae68;
$custom-dark: #000000;
JSON
{
  "hex": "#858d27",
  "rgb": {
    "r": 133,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 64.706,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61743,
    "c": 0.12268,
    "h": 113.9
  },
  "luminance": 0.24183
}

Semantic roles & 50–950 ramp

primary
#858D27
secondary
#6059B7
accent
#48E054
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #858D27

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

Preview Lab → · Contrast checker → · Palette generator →

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