#8F7928#8F7928

#8F7928 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.102 H 93.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8F7928
RGBrgb(143, 121, 40)
HSLhsl(47, 56%, 36%)
HSVhsv(47, 72%, 56%)
CMYKcmyk(0%, 15.4%, 72%, 43.9%)
CIE-LABlab(51.46, -0.76, 45.53)
CIE-LCHlch(51.46, 45.54, 90.95°)
OKLaboklab(58.14% -0.0063 0.1017)
OKLCHoklch(58.14% 0.102 93.6)
XYZxyz(18.5490, 19.6686, 4.8265)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7928 #283E8F
analogous
#8F4528 #8F7928 #718F28
triadic
#8F7928 #288F79 #79288F
tetradic
#8F7928 #288F45 #283E8F #8F2871
square
#8F7928 #288F45 #283E8F #8F2871
split-complementary
#8F7928 #28718F #45288F
monochromatic
#2F280D #5F511B #8F7928 #BFA135 #D2BA5F

Accessibility & contrast

On white

4.26
#8F7928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8F7928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7928
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7928#FFFFFF#000000##000000
##8F79281.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771D
Deuteranopia (green-blind)
#8C7D2C
Tritanopia (blue-blind)
#9B6F69
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f7928;
/* rgb */ color: rgb(143, 121, 40);
/* oklch */ color: oklch(58.1% 0.102 93.6);
Tailwind
colors: {
  custom: {
    50: '#b39f67',
    500: '#8f7928',
    950: '#000000',
  },
}
SCSS
$custom: #8f7928;
$custom-light: #b39f67;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7928",
  "rgb": {
    "r": 143,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 47.184,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58136,
    "c": 0.10189,
    "h": 93.6
  },
  "luminance": 0.19668
}

Semantic roles & 50–950 ramp

primary
#8F7928
secondary
#5B6FB8
accent
#69E048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F7928

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

Preview Lab → · Contrast checker → · Palette generator →

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