#8F801C#8F801C

#8F801C is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.115 H 100.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8F801C
RGBrgb(143, 128, 28)
HSLhsl(52, 67%, 34%)
HSVhsv(52, 80%, 56%)
CMYKcmyk(0%, 10.5%, 80.4%, 43.9%)
CIE-LABlab(53.34, -5.23, 51.94)
CIE-LCHlch(53.34, 52.21, 95.75°)
OKLaboklab(59.6% -0.0203 0.1129)
OKLCHoklch(59.6% 0.115 100.2)
XYZxyz(19.2574, 21.3628, 4.2075)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F801C #1C2B8F
analogous
#8F461C #8F801C #648F1C
triadic
#8F801C #1C8F80 #801C8F
tetradic
#8F801C #1C8F46 #1C2B8F #8F1C64
square
#8F801C #1C8F46 #1C2B8F #8F1C64
split-complementary
#8F801C #1C648F #461C8F
monochromatic
#292408 #5C5212 #8F801C #C2AE26 #DCC94A

Accessibility & contrast

On white

3.98
#8F801C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8F801C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F801C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F801C#FFFFFF#000000##000000
##8F801C1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C03
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#9B766D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f801c;
/* rgb */ color: rgb(143, 128, 28);
/* oklch */ color: oklch(59.6% 0.115 100.2);
Tailwind
colors: {
  custom: {
    50: '#b4a462',
    500: '#8f801c',
    950: '#000000',
  },
}
SCSS
$custom: #8f801c;
$custom-light: #b4a462;
$custom-dark: #000000;
JSON
{
  "hex": "#8f801c",
  "rgb": {
    "r": 143,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 52.174,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59603,
    "c": 0.11469,
    "h": 100.2
  },
  "luminance": 0.21362
}

Semantic roles & 50–950 ramp

primary
#8F801C
secondary
#4958BE
accent
#54EA3E
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #8F801C

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

Preview Lab → · Contrast checker → · Palette generator →

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