#8F7828#8F7828

#8F7828 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.9% C 0.101 H 92.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8F7828
RGBrgb(143, 120, 40)
HSLhsl(47, 56%, 36%)
HSVhsv(47, 72%, 56%)
CMYKcmyk(0%, 16.1%, 72%, 43.9%)
CIE-LABlab(51.18, -0.19, 45.25)
CIE-LCHlch(51.18, 45.25, 90.24°)
OKLaboklab(57.92% -0.0047 0.1011)
OKLCHoklch(57.92% 0.101 92.7)
XYZxyz(18.4281, 19.4268, 4.7862)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7828 #283F8F
analogous
#8F4428 #8F7828 #728F28
triadic
#8F7828 #288F78 #78288F
tetradic
#8F7828 #288F44 #283F8F #8F2872
square
#8F7828 #288F44 #283F8F #8F2872
split-complementary
#8F7828 #28728F #44288F
monochromatic
#2F280D #5F501B #8F7828 #BFA035 #D2B95F

Accessibility & contrast

On white

4.30
#8F7828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8F7828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7828
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7828#FFFFFF#000000##000000
##8F78281.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#9B6E68
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f7828;
/* rgb */ color: rgb(143, 120, 40);
/* oklch */ color: oklch(57.9% 0.101 92.7);
Tailwind
colors: {
  custom: {
    50: '#b39e67',
    500: '#8f7828',
    950: '#000000',
  },
}
SCSS
$custom: #8f7828;
$custom-light: #b39e67;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7828",
  "rgb": {
    "r": 143,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 46.602,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57916,
    "c": 0.1012,
    "h": 92.7
  },
  "luminance": 0.19426
}

Semantic roles & 50–950 ramp

primary
#8F7828
secondary
#5B70B8
accent
#6AE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F7828

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

Preview Lab → · Contrast checker → · Palette generator →

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