#858C12#858C12

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

Color values

HEX#858C12
RGBrgb(133, 140, 18)
HSLhsl(63, 77%, 31%)
HSVhsv(63, 87%, 55%)
CMYKcmyk(5%, 0%, 87.1%, 45.1%)
CIE-LABlab(55.87, -16.62, 56.59)
CIE-LCHlch(55.87, 58.98, 106.37°)
OKLaboklab(61.39% -0.0523 0.1215)
OKLCHoklch(61.39% 0.132 113.3)
XYZxyz(19.1608, 23.7868, 4.1541)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#858C12 #19128C
analogous
#8C5612 #858C12 #488C12
triadic
#858C12 #12858C #8C1285
tetradic
#858C12 #128C56 #19128C #8C1248
square
#858C12 #128C56 #19128C #8C1248
split-complementary
#858C12 #12488C #56128C
monochromatic
#1E2004 #51560B #858C12 #B9C219 #DBE534

Accessibility & contrast

On white

3.65
#858C12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#858C12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #858C12
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##858C12#FFFFFF#000000##000000
##858C121.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#978720
Tritanopia (blue-blind)
#8F8377
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #858c12;
/* rgb */ color: rgb(133, 140, 18);
/* oklch */ color: oklch(61.4% 0.132 113.3);
Tailwind
colors: {
  custom: {
    50: '#acad5f',
    500: '#858c12',
    950: '#000000',
  },
}
SCSS
$custom: #858c12;
$custom-light: #acad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#858c12",
  "rgb": {
    "r": 133,
    "g": 140,
    "b": 18
  },
  "hsl": {
    "h": 63.443,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.61392,
    "c": 0.13229,
    "h": 113.3
  },
  "luminance": 0.23786
}

Semantic roles & 50–950 ramp

primary
#858C12
secondary
#4139C0
accent
#34F43F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #858C12

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

Preview Lab → · Contrast checker → · Palette generator →

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