#8D8E1B#8D8E1B

#8D8E1B is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.128 H 110.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8D8E1B
RGBrgb(141, 142, 27)
HSLhsl(61, 68%, 33%)
HSVhsv(61, 81%, 56%)
CMYKcmyk(0.7%, 0%, 81%, 44.3%)
CIE-LABlab(57.16, -13.77, 55.58)
CIE-LCHlch(57.16, 57.26, 103.92°)
OKLaboklab(62.6% -0.0442 0.1206)
OKLCHoklch(62.6% 0.128 110.1)
XYZxyz(20.8561, 25.0885, 4.7806)
Luminance0.2509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8E1B #1C1B8E
analogous
#8E551B #8D8E1B #538E1B
triadic
#8D8E1B #1B8D8E #8E1B8D
tetradic
#8D8E1B #1B8E55 #1C1B8E #8E1B53
square
#8D8E1B #1B8E55 #1C1B8E #8E1B53
split-complementary
#8D8E1B #1B538E #551B8E
monochromatic
#272707 #5A5B11 #8D8E1B #C0C125 #DBDC47

Accessibility & contrast

On white

3.49
#8D8E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8D8E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8E1B
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8E1B#FFFFFF#000000##000000
##8D8E1B1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9B8B26
Tritanopia (blue-blind)
#978479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8e1b;
/* rgb */ color: rgb(141, 142, 27);
/* oklch */ color: oklch(62.6% 0.128 110.1);
Tailwind
colors: {
  custom: {
    50: '#b2ae63',
    500: '#8d8e1b',
    950: '#000000',
  },
}
SCSS
$custom: #8d8e1b;
$custom-light: #b2ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8e1b",
  "rgb": {
    "r": 141,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 60.522,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.62599,
    "c": 0.12843,
    "h": 110.1
  },
  "luminance": 0.25088
}

Semantic roles & 50–950 ramp

primary
#8D8E1B
secondary
#4847BE
accent
#3DEB3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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