#8F8F2E#8F8F2E

#8F8F2E 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#8F8F2E
RGBrgb(143, 143, 46)
HSLhsl(60, 51%, 37%)
HSVhsv(60, 68%, 56%)
CMYKcmyk(0%, 0%, 67.8%, 43.9%)
CIE-LABlab(57.73, -12.49, 49.36)
CIE-LCHlch(57.73, 50.92, 104.20°)
OKLaboklab(63.13% -0.0389 0.1109)
OKLCHoklch(63.13% 0.117 109.3)
XYZxyz(21.6440, 25.6824, 6.4013)
Luminance0.2568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8F2E #2E2E8F
analogous
#8F5F2E #8F8F2E #5F8F2E
triadic
#8F8F2E #2E8F8F #8F2E8F
tetradic
#8F8F2E #2E8F5F #2E2E8F #8F2E5F
square
#8F8F2E #2E8F5F #2E2E8F #8F2E5F
split-complementary
#8F8F2E #2E5F8F #5F2E8F
monochromatic
#323210 #61611F #8F8F2E #BDBD3D #CFCF69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8F2E#FFFFFF#000000##000000
##8F8F2E1.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)
#9A8920
Deuteranopia (green-blind)
#9C8C35
Tritanopia (blue-blind)
#99867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8f8f2e;
/* rgb */ color: rgb(143, 143, 46);
/* oklch */ color: oklch(63.1% 0.117 109.3);
Tailwind
colors: {
  custom: {
    50: '#b3af6d',
    500: '#8f8f2e',
    950: '#000000',
  },
}
SCSS
$custom: #8f8f2e;
$custom-light: #b3af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8f2e",
  "rgb": {
    "r": 143,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63134,
    "c": 0.11748,
    "h": 109.3
  },
  "luminance": 0.25682
}

Semantic roles & 50–950 ramp

primary
#8F8F2E
secondary
#6363B6
accent
#4DDB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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