#8D8B1E#8D8B1E

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

Color values

HEX#8D8B1E
RGBrgb(141, 139, 30)
HSLhsl(59, 65%, 34%)
HSVhsv(59, 79%, 55%)
CMYKcmyk(0%, 1.4%, 78.7%, 44.7%)
CIE-LABlab(56.31, -12.06, 53.89)
CIE-LCHlch(56.31, 55.23, 102.61°)
OKLaboklab(61.92% -0.0392 0.1176)
OKLCHoklch(61.92% 0.124 108.4)
XYZxyz(20.4523, 24.2224, 4.8261)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8B1E #1E208D
analogous
#8D531E #8D8B1E #578D1E
triadic
#8D8B1E #1E8D8B #8B1E8D
tetradic
#8D8B1E #1E8D53 #1E208D #8D1E57
square
#8D8B1E #1E8D53 #1E208D #8D1E57
split-complementary
#8D8B1E #1E578D #531E8D
monochromatic
#282809 #5B5913 #8D8B1E #BFBD29 #D9D64C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8B1E#FFFFFF#000000##000000
##8D8B1E1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d8b1e;
/* rgb */ color: rgb(141, 139, 30);
/* oklch */ color: oklch(61.9% 0.124 108.4);
Tailwind
colors: {
  custom: {
    50: '#b2ac64',
    500: '#8d8b1e',
    950: '#000000',
  },
}
SCSS
$custom: #8d8b1e;
$custom-light: #b2ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8b1e",
  "rgb": {
    "r": 141,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 58.919,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61923,
    "c": 0.12391,
    "h": 108.4
  },
  "luminance": 0.24222
}

Semantic roles & 50–950 ramp

primary
#8D8B1E
secondary
#4B4DBC
accent
#43E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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