#8D8B1B#8D8B1B

#8D8B1B is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.9% C 0.125 H 108.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8D8B1B
RGBrgb(141, 139, 27)
HSLhsl(59, 68%, 33%)
HSVhsv(59, 81%, 55%)
CMYKcmyk(0%, 1.4%, 80.9%, 44.7%)
CIE-LABlab(56.30, -12.18, 54.82)
CIE-LCHlch(56.30, 56.16, 102.52°)
OKLaboklab(61.91% -0.0397 0.119)
OKLCHoklch(61.91% 0.125 108.5)
XYZxyz(20.4158, 24.2078, 4.6338)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8B1B #1B1D8D
analogous
#8D521B #8D8B1B #568D1B
triadic
#8D8B1B #1B8D8B #8B1B8D
tetradic
#8D8B1B #1B8D52 #1B1D8D #8D1B56
square
#8D8B1B #1B8D52 #1B1D8D #8D1B56
split-complementary
#8D8B1B #1B568D #521B8D
monochromatic
#262607 #5A5811 #8D8B1B #C0BE25 #DCD947

Accessibility & contrast

On white

3.60
#8D8B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8D8B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8B1B
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8B1B#FFFFFF#000000##000000
##8D8B1B1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d8b1b;
/* rgb */ color: rgb(141, 139, 27);
/* oklch */ color: oklch(61.9% 0.125 108.5);
Tailwind
colors: {
  custom: {
    50: '#b2ac63',
    500: '#8d8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #8d8b1b;
$custom-light: #b2ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8b1b",
  "rgb": {
    "r": 141,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 58.947,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61906,
    "c": 0.12542,
    "h": 108.5
  },
  "luminance": 0.24207
}

Semantic roles & 50–950 ramp

primary
#8D8B1B
secondary
#4649BD
accent
#40EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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