#8C8E1D#8C8E1D

#8C8E1D is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.5% C 0.128 H 110.6°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8C8E1D
RGBrgb(140, 142, 29)
HSLhsl(61, 66%, 34%)
HSVhsv(61, 80%, 56%)
CMYKcmyk(1.4%, 0%, 79.6%, 44.3%)
CIE-LABlab(57.09, -14.15, 54.88)
CIE-LCHlch(57.09, 56.67, 104.46°)
OKLaboklab(62.52% -0.045 0.1195)
OKLCHoklch(62.52% 0.128 110.6)
XYZxyz(20.7107, 25.0107, 4.8987)
Luminance0.2501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8E1D #1F1D8E
analogous
#8E571D #8C8E1D #538E1D
triadic
#8C8E1D #1D8C8E #8E1D8C
tetradic
#8C8E1D #1D8E57 #1F1D8E #8E1D53
square
#8C8E1D #1D8E57 #1F1D8E #8E1D53
split-complementary
#8C8E1D #1D538E #571D8E
monochromatic
#282808 #5A5B13 #8C8E1D #BEC127 #D8DA4B

Accessibility & contrast

On white

3.50
#8C8E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8C8E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8E1D
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8E1D#FFFFFF#000000##000000
##8C8E1D1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9B8A27
Tritanopia (blue-blind)
#968579
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8c8e1d;
/* rgb */ color: rgb(140, 142, 29);
/* oklch */ color: oklch(62.5% 0.128 110.6);
Tailwind
colors: {
  custom: {
    50: '#b1ae64',
    500: '#8c8e1d',
    950: '#000000',
  },
}
SCSS
$custom: #8c8e1d;
$custom-light: #b1ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8e1d",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 61.062,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.6252,
    "c": 0.1277,
    "h": 110.6
  },
  "luminance": 0.2501
}

Semantic roles & 50–950 ramp

primary
#8C8E1D
secondary
#4C4ABD
accent
#3FE942
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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