#8C8E16#8C8E16

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

Color values

HEX#8C8E16
RGBrgb(140, 142, 22)
HSLhsl(61, 73%, 32%)
HSVhsv(61, 85%, 56%)
CMYKcmyk(1.4%, 0%, 84.5%, 44.3%)
CIE-LABlab(57.06, -14.39, 56.84)
CIE-LCHlch(57.06, 58.64, 104.21°)
OKLaboklab(62.49% -0.0462 0.1224)
OKLCHoklch(62.49% 0.131 110.7)
XYZxyz(20.6338, 24.9800, 4.4936)
Luminance0.2498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8E16 #18168E
analogous
#8E5416 #8C8E16 #508E16
triadic
#8C8E16 #168C8E #8E168C
tetradic
#8C8E16 #168E54 #18168E #8E1650
square
#8C8E16 #168E54 #18168E #8E1650
split-complementary
#8C8E16 #16508E #54168E
monochromatic
#242406 #58590E #8C8E16 #C0C31E #DEE13D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C8E16#FFFFFF#000000##000000
##8C8E161.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)
#9B8A22
Tritanopia (blue-blind)
#968479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8c8e16;
/* rgb */ color: rgb(140, 142, 22);
/* oklch */ color: oklch(62.5% 0.131 110.7);
Tailwind
colors: {
  custom: {
    50: '#b1ae61',
    500: '#8c8e16',
    950: '#000000',
  },
}
SCSS
$custom: #8c8e16;
$custom-light: #b1ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8e16",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 61,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.62487,
    "c": 0.13087,
    "h": 110.7
  },
  "luminance": 0.24979
}

Semantic roles & 50–950 ramp

primary
#8C8E16
secondary
#413FC1
accent
#38F03B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8E16

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

Preview Lab → · Contrast checker → · Palette generator →

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