#8C8E18#8C8E18

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

Color values

HEX#8C8E18
RGBrgb(140, 142, 24)
HSLhsl(61, 71%, 33%)
HSVhsv(61, 83%, 56%)
CMYKcmyk(1.4%, 0%, 83.1%, 44.3%)
CIE-LABlab(57.06, -14.33, 56.32)
CIE-LCHlch(57.06, 58.11, 104.27°)
OKLaboklab(62.5% -0.0459 0.1217)
OKLCHoklch(62.5% 0.13 110.7)
XYZxyz(20.6539, 24.9880, 4.5992)
Luminance0.2499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8E18 #1A188E
analogous
#8E5518 #8C8E18 #518E18
triadic
#8C8E18 #188C8E #8E188C
tetradic
#8C8E18 #188E55 #1A188E #8E1851
square
#8C8E18 #188E55 #1A188E #8E1851
split-complementary
#8C8E18 #18518E #55188E
monochromatic
#252506 #585A0F #8C8E18 #C0C221 #DCDF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8c8e18;
/* rgb */ color: rgb(140, 142, 24);
/* oklch */ color: oklch(62.5% 0.130 110.7);
Tailwind
colors: {
  custom: {
    50: '#b1ae62',
    500: '#8c8e18',
    950: '#000000',
  },
}
SCSS
$custom: #8c8e18;
$custom-light: #b1ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8e18",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 61.017,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.62496,
    "c": 0.13003,
    "h": 110.7
  },
  "luminance": 0.24987
}

Semantic roles & 50–950 ramp

primary
#8C8E18
secondary
#4442C0
accent
#3AEE3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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