#8F7628#8F7628

#8F7628 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.5% C 0.100 H 90.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8F7628
RGBrgb(143, 118, 40)
HSLhsl(45, 56%, 36%)
HSVhsv(45, 72%, 56%)
CMYKcmyk(0%, 17.5%, 72%, 43.9%)
CIE-LABlab(50.63, 0.94, 44.69)
CIE-LCHlch(50.63, 44.70, 88.79°)
OKLaboklab(57.48% -0.0014 0.0999)
OKLCHoklch(57.48% 0.1 90.8)
XYZxyz(18.1901, 18.9508, 4.7068)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7628 #28418F
analogous
#8F4228 #8F7628 #748F28
triadic
#8F7628 #288F76 #76288F
tetradic
#8F7628 #288F42 #28418F #8F2874
square
#8F7628 #288F42 #28418F #8F2874
split-complementary
#8F7628 #28748F #42288F
monochromatic
#2F270D #5F4F1B #8F7628 #BF9D35 #D2B65F

Accessibility & contrast

On white

4.38
#8F7628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8F7628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7628
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7628#FFFFFF#000000##000000
##8F76281.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83741D
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#9B6C66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f7628;
/* rgb */ color: rgb(143, 118, 40);
/* oklch */ color: oklch(57.5% 0.100 90.8);
Tailwind
colors: {
  custom: {
    50: '#b39d67',
    500: '#8f7628',
    950: '#000000',
  },
}
SCSS
$custom: #8f7628;
$custom-light: #b39d67;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7628",
  "rgb": {
    "r": 143,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 45.437,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5748,
    "c": 0.09991,
    "h": 90.8
  },
  "luminance": 0.1895
}

Semantic roles & 50–950 ramp

primary
#8F7628
secondary
#5B72B8
accent
#6DE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F7628

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

Preview Lab → · Contrast checker → · Palette generator →

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