#8C8E1E#8C8E1E

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

Color values

HEX#8C8E1E
RGBrgb(140, 142, 30)
HSLhsl(61, 65%, 34%)
HSVhsv(61, 79%, 56%)
CMYKcmyk(1.4%, 0%, 78.9%, 44.3%)
CIE-LABlab(57.09, -14.11, 54.57)
CIE-LCHlch(57.09, 56.36, 104.50°)
OKLaboklab(62.53% -0.0448 0.119)
OKLCHoklch(62.53% 0.127 110.6)
XYZxyz(20.7233, 25.0158, 4.9649)
Luminance0.2501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8E1E #201E8E
analogous
#8E581E #8C8E1E #548E1E
triadic
#8C8E1E #1E8C8E #8E1E8C
tetradic
#8C8E1E #1E8E58 #201E8E #8E1E54
square
#8C8E1E #1E8E58 #201E8E #8E1E54
split-complementary
#8C8E1E #1E548E #581E8E
monochromatic
#282909 #5A5B13 #8C8E1E #BEC129 #D7D94D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C8E1E#FFFFFF#000000##000000
##8C8E1E1.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)
#9B8A28
Tritanopia (blue-blind)
#968579
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8c8e1e;
/* rgb */ color: rgb(140, 142, 30);
/* oklch */ color: oklch(62.5% 0.127 110.6);
Tailwind
colors: {
  custom: {
    50: '#b1ae64',
    500: '#8c8e1e',
    950: '#000000',
  },
}
SCSS
$custom: #8c8e1e;
$custom-light: #b1ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8e1e",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 61.071,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62526,
    "c": 0.12719,
    "h": 110.6
  },
  "luminance": 0.25015
}

Semantic roles & 50–950 ramp

primary
#8C8E1E
secondary
#4E4CBC
accent
#40E843
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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