#8B8E13#8B8E13

#8B8E13 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.132 H 111.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8B8E13
RGBrgb(139, 142, 19)
HSLhsl(61, 76%, 32%)
HSVhsv(61, 87%, 56%)
CMYKcmyk(2.1%, 0%, 86.6%, 44.3%)
CIE-LABlab(56.96, -14.93, 57.46)
CIE-LCHlch(56.96, 59.37, 104.57°)
OKLaboklab(62.39% -0.0479 0.1233)
OKLCHoklch(62.39% 0.132 111.2)
XYZxyz(20.4388, 24.8826, 4.3421)
Luminance0.2488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8E13 #16138E
analogous
#8E5413 #8B8E13 #4E8E13
triadic
#8B8E13 #138B8E #8E138B
tetradic
#8B8E13 #138E54 #16138E #8E134E
square
#8B8E13 #138E54 #16138E #8E134E
split-complementary
#8B8E13 #134E8E #54138E
monochromatic
#212205 #56580C #8B8E13 #C0C41A #E0E437

Accessibility & contrast

On white

3.51
#8B8E13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8B8E13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8E13
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8E13#FFFFFF#000000##000000
##8B8E131.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9B8A21
Tritanopia (blue-blind)
#958479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8b8e13;
/* rgb */ color: rgb(139, 142, 19);
/* oklch */ color: oklch(62.4% 0.132 111.2);
Tailwind
colors: {
  custom: {
    50: '#b1ae60',
    500: '#8b8e13',
    950: '#000000',
  },
}
SCSS
$custom: #8b8e13;
$custom-light: #b1ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8e13",
  "rgb": {
    "r": 139,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 61.463,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.62387,
    "c": 0.13227,
    "h": 111.2
  },
  "luminance": 0.24882
}

Semantic roles & 50–950 ramp

primary
#8B8E13
secondary
#3E3BC2
accent
#35F339
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8B8E13

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

Preview Lab → · Contrast checker → · Palette generator →

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