#8C8A1E#8C8A1E

#8C8A1E is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.123 H 108.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8C8A1E
RGBrgb(140, 138, 30)
HSLhsl(59, 65%, 33%)
HSVhsv(59, 79%, 55%)
CMYKcmyk(0%, 1.4%, 78.6%, 45.1%)
CIE-LABlab(55.93, -11.98, 53.52)
CIE-LCHlch(55.93, 54.84, 102.62°)
OKLaboklab(61.6% -0.0389 0.1168)
OKLCHoklch(61.6% 0.123 108.4)
XYZxyz(20.1388, 23.8468, 4.7701)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A1E #1E208C
analogous
#8C531E #8C8A1E #578C1E
triadic
#8C8A1E #1E8C8A #8A1E8C
tetradic
#8C8A1E #1E8C53 #1E208C #8C1E57
square
#8C8A1E #1E8C53 #1E208C #8C1E57
split-complementary
#8C8A1E #1E578C #531E8C
monochromatic
#272708 #5A5813 #8C8A1E #BEBC29 #D9D64C

Accessibility & contrast

On white

3.64
#8C8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8C8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8A1E
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8A1E#FFFFFF#000000##000000
##8C8A1E1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968401
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#978176
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8c8a1e;
/* rgb */ color: rgb(140, 138, 30);
/* oklch */ color: oklch(61.6% 0.123 108.4);
Tailwind
colors: {
  custom: {
    50: '#b1ab64',
    500: '#8c8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a1e;
$custom-light: #b1ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a1e",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 58.909,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61602,
    "c": 0.1231,
    "h": 108.4
  },
  "luminance": 0.23846
}

Semantic roles & 50–950 ramp

primary
#8C8A1E
secondary
#4B4DBB
accent
#43E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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