#8F8527#8F8527

#8F8527 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.112 H 103.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8F8527
RGBrgb(143, 133, 39)
HSLhsl(54, 57%, 36%)
HSVhsv(54, 73%, 56%)
CMYKcmyk(0%, 7%, 72.7%, 43.9%)
CIE-LABlab(54.83, -7.48, 49.30)
CIE-LCHlch(54.83, 49.86, 98.63°)
OKLaboklab(60.8% -0.0256 0.1095)
OKLCHoklch(60.8% 0.112 103.1)
XYZxyz(20.0823, 22.7620, 5.2547)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8527 #27318F
analogous
#8F5127 #8F8527 #658F27
triadic
#8F8527 #278F85 #85278F
tetradic
#8F8527 #278F51 #27318F #8F2765
square
#8F8527 #278F51 #27318F #8F2765
split-complementary
#8F8527 #27658F #51278F
monochromatic
#2F2C0D #5F581A #8F8527 #BFB234 #D3C85D

Accessibility & contrast

On white

3.78
#8F8527 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8F8527 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8527
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8527#FFFFFF#000000##000000
##8F85271.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918118
Deuteranopia (green-blind)
#94852D
Tritanopia (blue-blind)
#9A7B72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f8527;
/* rgb */ color: rgb(143, 133, 39);
/* oklch */ color: oklch(60.8% 0.112 103.1);
Tailwind
colors: {
  custom: {
    50: '#b3a868',
    500: '#8f8527',
    950: '#000000',
  },
}
SCSS
$custom: #8f8527;
$custom-light: #b3a868;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8527",
  "rgb": {
    "r": 143,
    "g": 133,
    "b": 39
  },
  "hsl": {
    "h": 54.231,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60801,
    "c": 0.1124,
    "h": 103.1
  },
  "luminance": 0.22761
}

Semantic roles & 50–950 ramp

primary
#8F8527
secondary
#5A63B8
accent
#56E047
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8527

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

Preview Lab → · Contrast checker → · Palette generator →

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