#8F772D#8F772D

#8F772D is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.7% C 0.097 H 90.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8F772D
RGBrgb(143, 119, 45)
HSLhsl(45, 52%, 37%)
HSVhsv(45, 69%, 56%)
CMYKcmyk(0%, 16.8%, 68.5%, 43.9%)
CIE-LABlab(50.95, 0.67, 42.76)
CIE-LCHlch(50.95, 42.76, 89.10°)
OKLaboklab(57.74% -0.0016 0.0967)
OKLCHoklch(57.74% 0.097 90.9)
XYZxyz(18.3991, 19.2238, 5.2236)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F772D #2D458F
analogous
#8F462D #8F772D #768F2D
triadic
#8F772D #2D8F77 #772D8F
tetradic
#8F772D #2D8F46 #2D458F #8F2D76
square
#8F772D #2D8F46 #2D458F #8F2D76
split-complementary
#8F772D #2D768F #462D8F
monochromatic
#322A10 #60501E #8F772D #BE9E3C #CFB667

Accessibility & contrast

On white

4.33
#8F772D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8F772D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F772D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F772D#FFFFFF#000000##000000
##8F772D1.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847524
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#9B6D67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f772d;
/* rgb */ color: rgb(143, 119, 45);
/* oklch */ color: oklch(57.7% 0.097 90.9);
Tailwind
colors: {
  custom: {
    50: '#b39e6a',
    500: '#8f772d',
    950: '#000000',
  },
}
SCSS
$custom: #8f772d;
$custom-light: #b39e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f772d",
  "rgb": {
    "r": 143,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 45.306,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57744,
    "c": 0.09673,
    "h": 90.9
  },
  "luminance": 0.19223
}

Semantic roles & 50–950 ramp

primary
#8F772D
secondary
#6276B6
accent
#6FDC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8F772D

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

Preview Lab → · Contrast checker → · Palette generator →

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