#8E8B13#8E8B13

#8E8B13 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 62.0% C 0.129 H 108.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8E8B13
RGBrgb(142, 139, 19)
HSLhsl(59, 76%, 32%)
HSVhsv(59, 87%, 56%)
CMYKcmyk(0%, 2.1%, 86.6%, 44.3%)
CIE-LABlab(56.35, -11.97, 57.06)
CIE-LCHlch(56.35, 58.31, 101.85°)
OKLaboklab(61.96% -0.0398 0.1223)
OKLCHoklch(61.96% 0.129 108)
XYZxyz(20.5064, 24.2638, 4.2192)
Luminance0.2426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8B13 #13168E
analogous
#8E4E13 #8E8B13 #548E13
triadic
#8E8B13 #138E8B #8B138E
tetradic
#8E8B13 #138E4E #13168E #8E1354
square
#8E8B13 #138E4E #13168E #8E1354
split-complementary
#8E8B13 #13548E #4E138E
monochromatic
#222105 #58560C #8E8B13 #C4C01A #E4E037

Accessibility & contrast

On white

3.59
#8E8B13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8E8B13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8B13
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8B13#FFFFFF#000000##000000
##8E8B131.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e8b13;
/* rgb */ color: rgb(142, 139, 19);
/* oklch */ color: oklch(62.0% 0.129 108.0);
Tailwind
colors: {
  custom: {
    50: '#b3ac60',
    500: '#8e8b13',
    950: '#000000',
  },
}
SCSS
$custom: #8e8b13;
$custom-light: #b3ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8b13",
  "rgb": {
    "r": 142,
    "g": 139,
    "b": 19
  },
  "hsl": {
    "h": 58.537,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61962,
    "c": 0.12859,
    "h": 108
  },
  "luminance": 0.24263
}

Semantic roles & 50–950 ramp

primary
#8E8B13
secondary
#3B3EC2
accent
#39F335
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #8E8B13

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

Preview Lab → · Contrast checker → · Palette generator →

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