#8C8E13#8C8E13

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

Color values

HEX#8C8E13
RGBrgb(140, 142, 19)
HSLhsl(61, 76%, 32%)
HSVhsv(61, 87%, 56%)
CMYKcmyk(1.4%, 0%, 86.6%, 44.3%)
CIE-LABlab(57.05, -14.48, 57.57)
CIE-LCHlch(57.05, 59.36, 104.12°)
OKLaboklab(62.48% -0.0467 0.1235)
OKLCHoklch(62.48% 0.132 110.7)
XYZxyz(20.6066, 24.9691, 4.3500)
Luminance0.2497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8E13 #15138E
analogous
#8E5313 #8C8E13 #4F8E13
triadic
#8C8E13 #138C8E #8E138C
tetradic
#8C8E13 #138E53 #15138E #8E134F
square
#8C8E13 #138E53 #15138E #8E134F
split-complementary
#8C8E13 #134F8E #53138E
monochromatic
#222205 #57580C #8C8E13 #C1C41A #E1E437

Accessibility & contrast

On white

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

On black

5.99
#8C8E13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8E13
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8E13#FFFFFF#000000##000000
##8C8E131.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c8e13;
/* rgb */ color: rgb(140, 142, 19);
/* oklch */ color: oklch(62.5% 0.132 110.7);
Tailwind
colors: {
  custom: {
    50: '#b1ae60',
    500: '#8c8e13',
    950: '#000000',
  },
}
SCSS
$custom: #8c8e13;
$custom-light: #b1ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8e13",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 60.976,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.62475,
    "c": 0.132,
    "h": 110.7
  },
  "luminance": 0.24968
}

Semantic roles & 50–950 ramp

primary
#8C8E13
secondary
#3D3BC2
accent
#35F338
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8C8E13

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

Preview Lab → · Contrast checker → · Palette generator →

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