#8F8D2C#8F8D2C

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

Color values

HEX#8F8D2C
RGBrgb(143, 141, 44)
HSLhsl(59, 53%, 37%)
HSVhsv(59, 69%, 56%)
CMYKcmyk(0%, 1.4%, 69.2%, 43.9%)
CIE-LABlab(57.15, -11.54, 49.59)
CIE-LCHlch(57.15, 50.91, 103.10°)
OKLaboklab(62.66% -0.0365 0.111)
OKLCHoklch(62.66% 0.117 108.2)
XYZxyz(21.3079, 25.0719, 6.0993)
Luminance0.2507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8D2C #2C2E8F
analogous
#8F5C2C #8F8D2C #608F2C
triadic
#8F8D2C #2C8F8D #8D2C8F
tetradic
#8F8D2C #2C8F5C #2C2E8F #8F2C60
square
#8F8D2C #2C8F5C #2C2E8F #8F2C60
split-complementary
#8F8D2C #2C608F #5C2C8F
monochromatic
#31310F #605F1E #8F8D2C #BEBB3A #D0CE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8D2C#FFFFFF#000000##000000
##8F8D2C1.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)
#99871D
Deuteranopia (green-blind)
#9A8B33
Tritanopia (blue-blind)
#99847A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f8d2c;
/* rgb */ color: rgb(143, 141, 44);
/* oklch */ color: oklch(62.7% 0.117 108.2);
Tailwind
colors: {
  custom: {
    50: '#b3ae6b',
    500: '#8f8d2c',
    950: '#000000',
  },
}
SCSS
$custom: #8f8d2c;
$custom-light: #b3ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8d2c",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 58.788,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62659,
    "c": 0.11682,
    "h": 108.2
  },
  "luminance": 0.25071
}

Semantic roles & 50–950 ramp

primary
#8F8D2C
secondary
#6162B6
accent
#4EDC4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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