#8F8D2B#8F8D2B

#8F8D2B is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.7% C 0.118 H 108.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8F8D2B
RGBrgb(143, 141, 43)
HSLhsl(59, 54%, 36%)
HSVhsv(59, 70%, 56%)
CMYKcmyk(0%, 1.4%, 69.9%, 43.9%)
CIE-LABlab(57.14, -11.60, 49.99)
CIE-LCHlch(57.14, 51.31, 103.06°)
OKLaboklab(62.65% -0.0367 0.1117)
OKLCHoklch(62.65% 0.118 108.2)
XYZxyz(21.2894, 25.0645, 6.0015)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8D2B #2B2D8F
analogous
#8F5B2B #8F8D2B #5F8F2B
triadic
#8F8D2B #2B8F8D #8D2B8F
tetradic
#8F8D2B #2B8F5B #2B2D8F #8F2B5F
square
#8F8D2B #2B8F5B #2B2D8F #8F2B5F
split-complementary
#8F8D2B #2B5F8F #5B2B8F
monochromatic
#31300F #605F1D #8F8D2B #BEBB39 #D0CE64

Accessibility & contrast

On white

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

On black

6.01
#8F8D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8D2B
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8D2B#FFFFFF#000000##000000
##8F8D2B1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871C
Deuteranopia (green-blind)
#9A8B32
Tritanopia (blue-blind)
#998479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f8d2b;
/* rgb */ color: rgb(143, 141, 43);
/* oklch */ color: oklch(62.7% 0.118 108.2);
Tailwind
colors: {
  custom: {
    50: '#b3ae6b',
    500: '#8f8d2b',
    950: '#000000',
  },
}
SCSS
$custom: #8f8d2b;
$custom-light: #b3ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8d2b",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 58.8,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62651,
    "c": 0.11753,
    "h": 108.2
  },
  "luminance": 0.25064
}

Semantic roles & 50–950 ramp

primary
#8F8D2B
secondary
#5F61B7
accent
#4EDD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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