#8C8F16#8C8F16

#8C8F16 is a light, vivid yellow. Relative luminance 0.253; OKLCH L 62.7% C 0.132 H 111.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8C8F16
RGBrgb(140, 143, 22)
HSLhsl(61, 73%, 32%)
HSVhsv(61, 85%, 56%)
CMYKcmyk(2.1%, 0%, 84.6%, 43.9%)
CIE-LABlab(57.35, -14.92, 57.09)
CIE-LCHlch(57.35, 59.01, 104.65°)
OKLaboklab(62.72% -0.0477 0.123)
OKLCHoklch(62.72% 0.132 111.2)
XYZxyz(20.7833, 25.2789, 4.5434)
Luminance0.2528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8F16 #19168F
analogous
#8F5616 #8C8F16 #4F8F16
triadic
#8C8F16 #168C8F #8F168C
tetradic
#8C8F16 #168F56 #19168F #8F164F
square
#8C8F16 #168F56 #19168F #8F164F
split-complementary
#8C8F16 #164F8F #56168F
monochromatic
#242506 #585A0E #8C8F16 #C0C41E #DDE13E

Accessibility & contrast

On white

3.47
#8C8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#8C8F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8F16
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8F16#FFFFFF#000000##000000
##8C8F161.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9C8B23
Tritanopia (blue-blind)
#96857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8c8f16;
/* rgb */ color: rgb(140, 143, 22);
/* oklch */ color: oklch(62.7% 0.132 111.2);
Tailwind
colors: {
  custom: {
    50: '#b1af61',
    500: '#8c8f16',
    950: '#000000',
  },
}
SCSS
$custom: #8c8f16;
$custom-light: #b1af61;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8f16",
  "rgb": {
    "r": 140,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 61.488,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62719,
    "c": 0.13188,
    "h": 111.2
  },
  "luminance": 0.25278
}

Semantic roles & 50–950 ramp

primary
#8C8F16
secondary
#433FC1
accent
#38F03C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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