#8E8B1C#8E8B1C

#8E8B1C is a light, vivid yellow. Relative luminance 0.243; OKLCH L 62.0% C 0.125 H 107.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8E8B1C
RGBrgb(142, 139, 28)
HSLhsl(58, 67%, 33%)
HSVhsv(58, 80%, 56%)
CMYKcmyk(0%, 2.1%, 80.3%, 44.3%)
CIE-LABlab(56.39, -11.68, 54.63)
CIE-LCHlch(56.39, 55.86, 102.07°)
OKLaboklab(62% -0.0383 0.1187)
OKLCHoklch(62% 0.125 107.9)
XYZxyz(20.5984, 24.3006, 4.7038)
Luminance0.2430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8B1C #1C1F8E
analogous
#8E521C #8E8B1C #588E1C
triadic
#8E8B1C #1C8E8B #8B1C8E
tetradic
#8E8B1C #1C8E52 #1C1F8E #8E1C58
square
#8E8B1C #1C8E52 #1C1F8E #8E1C58
split-complementary
#8E8B1C #1C588E #521C8E
monochromatic
#282708 #5B5912 #8E8B1C #C1BD26 #DBD749

Accessibility & contrast

On white

3.58
#8E8B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#8E8B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8B1C
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8B1C#FFFFFF#000000##000000
##8E8B1C1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#998926
Tritanopia (blue-blind)
#998177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e8b1c;
/* rgb */ color: rgb(142, 139, 28);
/* oklch */ color: oklch(62.0% 0.125 107.9);
Tailwind
colors: {
  custom: {
    50: '#b3ac63',
    500: '#8e8b1c',
    950: '#000000',
  },
}
SCSS
$custom: #8e8b1c;
$custom-light: #b3ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8b1c",
  "rgb": {
    "r": 142,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 58.421,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.62003,
    "c": 0.12473,
    "h": 107.9
  },
  "luminance": 0.243
}

Semantic roles & 50–950 ramp

primary
#8E8B1C
secondary
#494CBD
accent
#42EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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