#8F8F27#8F8F27

#8F8F27 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.1% C 0.122 H 109.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8F8F27
RGBrgb(143, 143, 39)
HSLhsl(60, 57%, 36%)
HSVhsv(60, 73%, 56%)
CMYKcmyk(0%, 0%, 72.7%, 43.9%)
CIE-LABlab(57.69, -12.88, 52.08)
CIE-LCHlch(57.69, 53.65, 103.89°)
OKLaboklab(63.08% -0.0407 0.1154)
OKLCHoklch(63.08% 0.122 109.4)
XYZxyz(21.5171, 25.6317, 5.7330)
Luminance0.2563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8F27 #27278F
analogous
#8F5B27 #8F8F27 #5B8F27
triadic
#8F8F27 #278F8F #8F278F
tetradic
#8F8F27 #278F5B #27278F #8F275B
square
#8F8F27 #278F5B #27278F #8F275B
split-complementary
#8F8F27 #275B8F #5B278F
monochromatic
#2F2F0D #5F5F1A #8F8F27 #BFBF34 #D3D35D

Accessibility & contrast

On white

3.43
#8F8F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#8F8F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8F27
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8F27#FFFFFF#000000##000000
##8F8F271.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8914
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#99867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8f8f27;
/* rgb */ color: rgb(143, 143, 39);
/* oklch */ color: oklch(63.1% 0.122 109.4);
Tailwind
colors: {
  custom: {
    50: '#b3af69',
    500: '#8f8f27',
    950: '#000000',
  },
}
SCSS
$custom: #8f8f27;
$custom-light: #b3af69;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8f27",
  "rgb": {
    "r": 143,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6308,
    "c": 0.12233,
    "h": 109.4
  },
  "luminance": 0.25631
}

Semantic roles & 50–950 ramp

primary
#8F8F27
secondary
#5A5AB8
accent
#47E047
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8F27

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

Preview Lab → · Contrast checker → · Palette generator →

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