#8C8D27#8C8D27

#8C8D27 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.4% C 0.121 H 110.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8C8D27
RGBrgb(140, 141, 39)
HSLhsl(61, 57%, 35%)
HSVhsv(61, 72%, 55%)
CMYKcmyk(0.7%, 0%, 72.3%, 44.7%)
CIE-LABlab(56.85, -13.16, 51.19)
CIE-LCHlch(56.85, 52.85, 104.42°)
OKLaboklab(62.35% -0.0413 0.1136)
OKLCHoklch(62.35% 0.121 110)
XYZxyz(20.7070, 24.7723, 5.6098)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8D27 #28278D
analogous
#8D5B27 #8C8D27 #598D27
triadic
#8C8D27 #278C8D #8D278C
tetradic
#8C8D27 #278D5B #28278D #8D2759
square
#8C8D27 #278D5B #28278D #8D2759
split-complementary
#8C8D27 #27598D #5B278D
monochromatic
#2D2D0C #5C5D1A #8C8D27 #BCBD34 #D1D25C

Accessibility & contrast

On white

3.53
#8C8D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8C8D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8D27
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8D27#FFFFFF#000000##000000
##8C8D271.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988715
Deuteranopia (green-blind)
#9A8A2F
Tritanopia (blue-blind)
#968479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8c8d27;
/* rgb */ color: rgb(140, 141, 39);
/* oklch */ color: oklch(62.4% 0.121 110.0);
Tailwind
colors: {
  custom: {
    50: '#b1ae69',
    500: '#8c8d27',
    950: '#000000',
  },
}
SCSS
$custom: #8c8d27;
$custom-light: #b1ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8d27",
  "rgb": {
    "r": 140,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 60.588,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62352,
    "c": 0.12085,
    "h": 110
  },
  "luminance": 0.24772
}

Semantic roles & 50–950 ramp

primary
#8C8D27
secondary
#5A59B7
accent
#48E049
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8C8D27

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

Preview Lab → · Contrast checker → · Palette generator →

#8C8D27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva