#8F8D1E#8F8D1E

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

Color values

HEX#8F8D1E
RGBrgb(143, 141, 30)
HSLhsl(59, 65%, 34%)
HSVhsv(59, 79%, 56%)
CMYKcmyk(0%, 1.4%, 79%, 43.9%)
CIE-LABlab(57.06, -12.22, 54.63)
CIE-LCHlch(57.06, 55.98, 102.61°)
OKLaboklab(62.56% -0.0397 0.1191)
OKLCHoklch(62.56% 0.126 108.5)
XYZxyz(21.0877, 24.9838, 4.9396)
Luminance0.2498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8D1E #1E208F
analogous
#8F551E #8F8D1E #598F1E
triadic
#8F8D1E #1E8F8D #8D1E8F
tetradic
#8F8D1E #1E8F55 #1E208F #8F1E59
square
#8F8D1E #1E8F55 #1E208F #8F1E59
split-complementary
#8F8D1E #1E598F #551E8F
monochromatic
#2A2909 #5C5B13 #8F8D1E #C2BF29 #DAD74E

Accessibility & contrast

On white

3.50
#8F8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8F8D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8D1E
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8D1E#FFFFFF#000000##000000
##8F8D1E1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9B8B28
Tritanopia (blue-blind)
#9A8378
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f8d1e;
/* rgb */ color: rgb(143, 141, 30);
/* oklch */ color: oklch(62.6% 0.126 108.5);
Tailwind
colors: {
  custom: {
    50: '#b3ae64',
    500: '#8f8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #8f8d1e;
$custom-light: #b3ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8d1e",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 58.938,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62564,
    "c": 0.1255,
    "h": 108.5
  },
  "luminance": 0.24983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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