#8F7E27#8F7E27

#8F7E27 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.106 H 97.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8F7E27
RGBrgb(143, 126, 39)
HSLhsl(50, 57%, 36%)
HSVhsv(50, 73%, 56%)
CMYKcmyk(0%, 11.9%, 72.7%, 43.9%)
CIE-LABlab(52.85, -3.62, 47.35)
CIE-LCHlch(52.85, 47.48, 94.37°)
OKLaboklab(59.23% -0.0146 0.1053)
OKLCHoklch(59.23% 0.106 97.9)
XYZxyz(19.1557, 20.9088, 4.9459)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7E27 #27388F
analogous
#8F4A27 #8F7E27 #6C8F27
triadic
#8F7E27 #278F7E #7E278F
tetradic
#8F7E27 #278F4A #27388F #8F276C
square
#8F7E27 #278F4A #27388F #8F276C
split-complementary
#8F7E27 #276C8F #4A278F
monochromatic
#2F290D #5F541A #8F7E27 #BFA834 #D3C05D

Accessibility & contrast

On white

4.05
#8F7E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8F7E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7E27
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7E27#FFFFFF#000000##000000
##8F7E271.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#8F812C
Tritanopia (blue-blind)
#9A746D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f7e27;
/* rgb */ color: rgb(143, 126, 39);
/* oklch */ color: oklch(59.2% 0.106 97.9);
Tailwind
colors: {
  custom: {
    50: '#b3a367',
    500: '#8f7e27',
    950: '#000000',
  },
}
SCSS
$custom: #8f7e27;
$custom-light: #b3a367;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7e27",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 50.192,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59232,
    "c": 0.10635,
    "h": 97.9
  },
  "luminance": 0.20908
}

Semantic roles & 50–950 ramp

primary
#8F7E27
secondary
#5A69B8
accent
#60E047
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8F7E27

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

Preview Lab → · Contrast checker → · Palette generator →

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