#8E8B16#8E8B16

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

Color values

HEX#8E8B16
RGBrgb(142, 139, 22)
HSLhsl(59, 73%, 32%)
HSVhsv(59, 85%, 56%)
CMYKcmyk(0%, 2.1%, 84.5%, 44.3%)
CIE-LABlab(56.36, -11.89, 56.32)
CIE-LCHlch(56.36, 57.56, 101.92°)
OKLaboklab(61.97% -0.0394 0.1212)
OKLCHoklch(61.97% 0.127 108)
XYZxyz(20.5336, 24.2747, 4.3628)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8B16 #16198E
analogous
#8E4F16 #8E8B16 #558E16
triadic
#8E8B16 #168E8B #8B168E
tetradic
#8E8B16 #168E4F #16198E #8E1655
square
#8E8B16 #168E4F #16198E #8E1655
split-complementary
#8E8B16 #16558E #4F168E
monochromatic
#242306 #59570E #8E8B16 #C3BF1E #E1DD3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E8B16#FFFFFF#000000##000000
##8E8B161.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)
#998922
Tritanopia (blue-blind)
#998176
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e8b16;
/* rgb */ color: rgb(142, 139, 22);
/* oklch */ color: oklch(62.0% 0.127 108.0);
Tailwind
colors: {
  custom: {
    50: '#b3ac61',
    500: '#8e8b16',
    950: '#000000',
  },
}
SCSS
$custom: #8e8b16;
$custom-light: #b3ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8b16",
  "rgb": {
    "r": 142,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 58.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61974,
    "c": 0.12744,
    "h": 108
  },
  "luminance": 0.24274
}

Semantic roles & 50–950 ramp

primary
#8E8B16
secondary
#3F42C1
accent
#3DF038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8E8B16

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

Preview Lab → · Contrast checker → · Palette generator →

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