#8F8D27#8F8D27

#8F8D27 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.6% C 0.120 H 108.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8F8D27
RGBrgb(143, 141, 39)
HSLhsl(59, 57%, 36%)
HSVhsv(59, 73%, 56%)
CMYKcmyk(0%, 1.4%, 72.7%, 43.9%)
CIE-LABlab(57.11, -11.81, 51.53)
CIE-LCHlch(57.11, 52.86, 102.91°)
OKLaboklab(62.62% -0.0377 0.1142)
OKLCHoklch(62.62% 0.12 108.3)
XYZxyz(21.2196, 25.0366, 5.6338)
Luminance0.2504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8D27 #27298F
analogous
#8F5927 #8F8D27 #5D8F27
triadic
#8F8D27 #278F8D #8D278F
tetradic
#8F8D27 #278F59 #27298F #8F275D
square
#8F8D27 #278F59 #27298F #8F275D
split-complementary
#8F8D27 #275D8F #59278F
monochromatic
#2F2E0D #5F5E1A #8F8D27 #BFBC34 #D3D15D

Accessibility & contrast

On white

3.50
#8F8D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8D27#FFFFFF#000000##000000
##8F8D271.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998715
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#998479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f8d27;
/* rgb */ color: rgb(143, 141, 39);
/* oklch */ color: oklch(62.6% 0.120 108.3);
Tailwind
colors: {
  custom: {
    50: '#b3ae69',
    500: '#8f8d27',
    950: '#000000',
  },
}
SCSS
$custom: #8f8d27;
$custom-light: #b3ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8d27",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 58.846,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62621,
    "c": 0.12025,
    "h": 108.3
  },
  "luminance": 0.25036
}

Semantic roles & 50–950 ramp

primary
#8F8D27
secondary
#5A5BB8
accent
#4AE047
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8D27

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

Preview Lab → · Contrast checker → · Palette generator →

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