#8F8D1B#8F8D1B

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

Color values

HEX#8F8D1B
RGBrgb(143, 141, 27)
HSLhsl(59, 68%, 33%)
HSVhsv(59, 81%, 56%)
CMYKcmyk(0%, 1.4%, 81.1%, 43.9%)
CIE-LABlab(57.05, -12.33, 55.55)
CIE-LCHlch(57.05, 56.90, 102.52°)
OKLaboklab(62.55% -0.0403 0.1204)
OKLCHoklch(62.55% 0.127 108.5)
XYZxyz(21.0512, 24.9692, 4.7473)
Luminance0.2497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8D1B #1B1D8F
analogous
#8F531B #8F8D1B #578F1B
triadic
#8F8D1B #1B8F8D #8D1B8F
tetradic
#8F8D1B #1B8F53 #1B1D8F #8F1B57
square
#8F8D1B #1B8F53 #1B1D8F #8F1B57
split-complementary
#8F8D1B #1B578F #531B8F
monochromatic
#282708 #5C5A11 #8F8D1B #C2C025 #DCDA48

Accessibility & contrast

On white

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

On black

5.99
#8F8D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8D1B
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8D1B#FFFFFF#000000##000000
##8F8D1B1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f8d1b;
/* rgb */ color: rgb(143, 141, 27);
/* oklch */ color: oklch(62.5% 0.127 108.5);
Tailwind
colors: {
  custom: {
    50: '#b3ae63',
    500: '#8f8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #8f8d1b;
$custom-light: #b3ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8d1b",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 58.966,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.62548,
    "c": 0.12699,
    "h": 108.5
  },
  "luminance": 0.24969
}

Semantic roles & 50–950 ramp

primary
#8F8D1B
secondary
#484ABE
accent
#40EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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