#8F7C15#8F7C15

#8F7C15 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.7% C 0.115 H 97.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8F7C15
RGBrgb(143, 124, 21)
HSLhsl(51, 74%, 32%)
HSVhsv(51, 85%, 56%)
CMYKcmyk(0%, 13.3%, 85.3%, 43.9%)
CIE-LABlab(52.19, -3.25, 53.10)
CIE-LCHlch(52.19, 53.20, 93.50°)
OKLaboklab(58.67% -0.0153 0.1139)
OKLCHoklch(58.67% 0.115 97.7)
XYZxyz(18.6717, 20.3101, 3.6461)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7C15 #15288F
analogous
#8F3F15 #8F7C15 #658F15
triadic
#8F7C15 #158F7C #7C158F
tetradic
#8F7C15 #158F3F #15288F #8F1565
square
#8F7C15 #158F3F #15288F #8F1565
split-complementary
#8F7C15 #15658F #3F158F
monochromatic
#241F05 #5A4E0D #8F7C15 #C4AA1D #E2C83C

Accessibility & contrast

On white

4.15
#8F7C15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8F7C15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7C15
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7C15#FFFFFF#000000##000000
##8F7C151.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8F7F1E
Tritanopia (blue-blind)
#9B726A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f7c15;
/* rgb */ color: rgb(143, 124, 21);
/* oklch */ color: oklch(58.7% 0.115 97.7);
Tailwind
colors: {
  custom: {
    50: '#b4a15e',
    500: '#8f7c15',
    950: '#000000',
  },
}
SCSS
$custom: #8f7c15;
$custom-light: #b4a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7c15",
  "rgb": {
    "r": 143,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 50.656,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58674,
    "c": 0.11495,
    "h": 97.7
  },
  "luminance": 0.20309
}

Semantic roles & 50–950 ramp

primary
#8F7C15
secondary
#3E52C2
accent
#54F137
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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