#8C8B1E#8C8B1E

#8C8B1E is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.124 H 109.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8C8B1E
RGBrgb(140, 139, 30)
HSLhsl(59, 65%, 33%)
HSVhsv(59, 79%, 55%)
CMYKcmyk(0%, 0.7%, 78.6%, 45.1%)
CIE-LABlab(56.22, -12.51, 53.78)
CIE-LCHlch(56.22, 55.22, 103.10°)
OKLaboklab(61.83% -0.0404 0.1174)
OKLCHoklch(61.83% 0.124 109)
XYZxyz(20.2830, 24.1351, 4.8181)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8B1E #1E1F8C
analogous
#8C541E #8C8B1E #568C1E
triadic
#8C8B1E #1E8C8B #8B1E8C
tetradic
#8C8B1E #1E8C54 #1E1F8C #8C1E56
square
#8C8B1E #1E8C54 #1E1F8C #8C1E56
split-complementary
#8C8B1E #1E568C #541E8C
monochromatic
#272708 #5A5913 #8C8B1E #BEBD29 #D9D74C

Accessibility & contrast

On white

3.60
#8C8B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8C8B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8B1E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8B1E#FFFFFF#000000##000000
##8C8B1E1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#968277
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8c8b1e;
/* rgb */ color: rgb(140, 139, 30);
/* oklch */ color: oklch(61.8% 0.124 109.0);
Tailwind
colors: {
  custom: {
    50: '#b1ac64',
    500: '#8c8b1e',
    950: '#000000',
  },
}
SCSS
$custom: #8c8b1e;
$custom-light: #b1ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8b1e",
  "rgb": {
    "r": 140,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 59.455,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61832,
    "c": 0.12411,
    "h": 109
  },
  "luminance": 0.24134
}

Semantic roles & 50–950 ramp

primary
#8C8B1E
secondary
#4B4CBB
accent
#42E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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