#8F8F2F#8F8F2F

#8F8F2F is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.1% C 0.117 H 109.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8F8F2F
RGBrgb(143, 143, 47)
HSLhsl(60, 51%, 37%)
HSVhsv(60, 67%, 56%)
CMYKcmyk(0%, 0%, 67.1%, 43.9%)
CIE-LABlab(57.74, -12.43, 48.95)
CIE-LCHlch(57.74, 50.50, 104.25°)
OKLaboklab(63.14% -0.0386 0.1102)
OKLCHoklch(63.14% 0.117 109.3)
XYZxyz(21.6640, 25.6904, 6.5063)
Luminance0.2569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8F2F #2F2F8F
analogous
#8F5F2F #8F8F2F #5F8F2F
triadic
#8F8F2F #2F8F8F #8F2F8F
tetradic
#8F8F2F #2F8F5F #2F2F8F #8F2F5F
square
#8F8F2F #2F8F5F #2F2F8F #8F2F5F
split-complementary
#8F8F2F #2F5F8F #5F2F8F
monochromatic
#333311 #616120 #8F8F2F #BDBD3E #CECE6A

Accessibility & contrast

On white

3.42
#8F8F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#8F8F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8F2F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8F2F#FFFFFF#000000##000000
##8F8F2F1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8922
Deuteranopia (green-blind)
#9C8C35
Tritanopia (blue-blind)
#99867C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8f8f2f;
/* rgb */ color: rgb(143, 143, 47);
/* oklch */ color: oklch(63.1% 0.117 109.3);
Tailwind
colors: {
  custom: {
    50: '#b3af6d',
    500: '#8f8f2f',
    950: '#000000',
  },
}
SCSS
$custom: #8f8f2f;
$custom-light: #b3af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8f2f",
  "rgb": {
    "r": 143,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63143,
    "c": 0.11674,
    "h": 109.3
  },
  "luminance": 0.2569
}

Semantic roles & 50–950 ramp

primary
#8F8F2F
secondary
#6565B5
accent
#4EDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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