#8D8E1F#8D8E1F

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

Color values

HEX#8D8E1F
RGBrgb(141, 142, 31)
HSLhsl(61, 64%, 34%)
HSVhsv(61, 78%, 56%)
CMYKcmyk(0.7%, 0%, 78.2%, 44.3%)
CIE-LABlab(57.18, -13.62, 54.36)
CIE-LCHlch(57.18, 56.04, 104.06°)
OKLaboklab(62.62% -0.0434 0.1187)
OKLCHoklch(62.62% 0.126 110.1)
XYZxyz(20.9056, 25.1083, 5.0412)
Luminance0.2511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8E1F #201F8E
analogous
#8E581F #8D8E1F #568E1F
triadic
#8D8E1F #1F8D8E #8E1F8D
tetradic
#8D8E1F #1F8E58 #201F8E #8E1F56
square
#8D8E1F #1F8E58 #201F8E #8E1F56
split-complementary
#8D8E1F #1F568E #581F8E
monochromatic
#292A09 #5B5C14 #8D8E1F #BFC02A #D7D94F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8E1F#FFFFFF#000000##000000
##8D8E1F1.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)
#9A8801
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#978579
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8e1f;
/* rgb */ color: rgb(141, 142, 31);
/* oklch */ color: oklch(62.6% 0.126 110.1);
Tailwind
colors: {
  custom: {
    50: '#b2ae65',
    500: '#8d8e1f',
    950: '#000000',
  },
}
SCSS
$custom: #8d8e1f;
$custom-light: #b2ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8e1f",
  "rgb": {
    "r": 141,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 60.541,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.6262,
    "c": 0.12642,
    "h": 110.1
  },
  "luminance": 0.25108
}

Semantic roles & 50–950 ramp

primary
#8D8E1F
secondary
#4E4DBB
accent
#41E742
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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