#8C8618#8C8618

#8C8618 is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.7% C 0.122 H 106.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8C8618
RGBrgb(140, 134, 24)
HSLhsl(57, 71%, 32%)
HSVhsv(57, 83%, 55%)
CMYKcmyk(0%, 4.3%, 82.9%, 45.1%)
CIE-LABlab(54.75, -10.05, 54.32)
CIE-LCHlch(54.75, 55.25, 100.48°)
OKLaboklab(60.65% -0.034 0.1174)
OKLCHoklch(60.65% 0.122 106.2)
XYZxyz(19.5060, 22.6923, 4.2166)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8618 #181E8C
analogous
#8C4C18 #8C8618 #588C18
triadic
#8C8618 #188C86 #86188C
tetradic
#8C8618 #188C4C #181E8C #8C1858
square
#8C8618 #188C4C #181E8C #8C1858
split-complementary
#8C8618 #18588C #4C188C
monochromatic
#242206 #58540F #8C8618 #C0B821 #DED640

Accessibility & contrast

On white

3.79
#8C8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8C8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8618
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8618#FFFFFF#000000##000000
##8C86181.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#958522
Tritanopia (blue-blind)
#977C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8c8618;
/* rgb */ color: rgb(140, 134, 24);
/* oklch */ color: oklch(60.7% 0.122 106.2);
Tailwind
colors: {
  custom: {
    50: '#b1a861',
    500: '#8c8618',
    950: '#000000',
  },
}
SCSS
$custom: #8c8618;
$custom-light: #b1a861;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8618",
  "rgb": {
    "r": 140,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 56.897,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60651,
    "c": 0.12218,
    "h": 106.2
  },
  "luminance": 0.22692
}

Semantic roles & 50–950 ramp

primary
#8C8618
secondary
#4147BF
accent
#44ED3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8C8618

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

Preview Lab → · Contrast checker → · Palette generator →

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