#8F771C#8F771C

#8F771C is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.6% C 0.108 H 93.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8F771C
RGBrgb(143, 119, 28)
HSLhsl(47, 67%, 34%)
HSVhsv(47, 80%, 56%)
CMYKcmyk(0%, 16.8%, 80.4%, 43.9%)
CIE-LABlab(50.83, -0.19, 49.67)
CIE-LCHlch(50.83, 49.67, 90.22°)
OKLaboklab(57.61% -0.006 0.108)
OKLCHoklch(57.61% 0.108 93.2)
XYZxyz(18.1352, 19.1182, 3.8334)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F771C #1C348F
analogous
#8F3D1C #8F771C #6D8F1C
triadic
#8F771C #1C8F77 #771C8F
tetradic
#8F771C #1C8F3D #1C348F #8F1C6D
square
#8F771C #1C8F3D #1C348F #8F1C6D
split-complementary
#8F771C #1C6D8F #3D1C8F
monochromatic
#292208 #5C4C12 #8F771C #C2A226 #DCBD4A

Accessibility & contrast

On white

4.35
#8F771C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8F771C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F771C
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F771C#FFFFFF#000000##000000
##8F771C1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857507
Deuteranopia (green-blind)
#8B7C22
Tritanopia (blue-blind)
#9B6D66
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f771c;
/* rgb */ color: rgb(143, 119, 28);
/* oklch */ color: oklch(57.6% 0.108 93.2);
Tailwind
colors: {
  custom: {
    50: '#b49d60',
    500: '#8f771c',
    950: '#000000',
  },
}
SCSS
$custom: #8f771c;
$custom-light: #b49d60;
$custom-dark: #000000;
JSON
{
  "hex": "#8f771c",
  "rgb": {
    "r": 143,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 47.478,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57608,
    "c": 0.10817,
    "h": 93.2
  },
  "luminance": 0.19117
}

Semantic roles & 50–950 ramp

primary
#8F771C
secondary
#4961BE
accent
#62EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F771C

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

Preview Lab → · Contrast checker → · Palette generator →

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