#8F8727#8F8727

#8F8727 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.3% C 0.114 H 104.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8F8727
RGBrgb(143, 135, 39)
HSLhsl(55, 57%, 36%)
HSVhsv(55, 73%, 56%)
CMYKcmyk(0%, 5.6%, 72.7%, 43.9%)
CIE-LABlab(55.40, -8.58, 49.86)
CIE-LCHlch(55.40, 50.59, 99.76°)
OKLaboklab(61.25% -0.0286 0.1106)
OKLCHoklch(61.25% 0.114 104.5)
XYZxyz(20.3587, 23.3149, 5.3469)
Luminance0.2331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8727 #272F8F
analogous
#8F5327 #8F8727 #638F27
triadic
#8F8727 #278F87 #87278F
tetradic
#8F8727 #278F53 #272F8F #8F2763
square
#8F8727 #278F53 #272F8F #8F2763
split-complementary
#8F8727 #27638F #53278F
monochromatic
#2F2C0D #5F5A1A #8F8727 #BFB434 #D3CA5D

Accessibility & contrast

On white

3.71
#8F8727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8F8727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8727
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8727#FFFFFF#000000##000000
##8F87271.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938217
Deuteranopia (green-blind)
#96872E
Tritanopia (blue-blind)
#9A7E74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f8727;
/* rgb */ color: rgb(143, 135, 39);
/* oklch */ color: oklch(61.3% 0.114 104.5);
Tailwind
colors: {
  custom: {
    50: '#b3a968',
    500: '#8f8727',
    950: '#000000',
  },
}
SCSS
$custom: #8f8727;
$custom-light: #b3a968;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8727",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 55.385,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61254,
    "c": 0.11429,
    "h": 104.5
  },
  "luminance": 0.23314
}

Semantic roles & 50–950 ramp

primary
#8F8727
secondary
#5A61B8
accent
#53E047
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8727

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

Preview Lab → · Contrast checker → · Palette generator →

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