#8F8526#8F8526

#8F8526 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.113 H 103.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8F8526
RGBrgb(143, 133, 38)
HSLhsl(54, 58%, 35%)
HSVhsv(54, 73%, 56%)
CMYKcmyk(0%, 7%, 73.4%, 43.9%)
CIE-LABlab(54.82, -7.54, 49.69)
CIE-LCHlch(54.82, 50.26, 98.62°)
OKLaboklab(60.79% -0.0258 0.1101)
OKLCHoklch(60.79% 0.113 103.2)
XYZxyz(20.0659, 22.7555, 5.1686)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8526 #26308F
analogous
#8F5126 #8F8526 #648F26
triadic
#8F8526 #268F85 #85268F
tetradic
#8F8526 #268F51 #26308F #8F2664
square
#8F8526 #268F51 #26308F #8F2664
split-complementary
#8F8526 #26648F #51268F
monochromatic
#2E2B0C #5F5819 #8F8526 #BFB233 #D4C85C

Accessibility & contrast

On white

3.78
#8F8526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8F8526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8526
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8526#FFFFFF#000000##000000
##8F85261.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918116
Deuteranopia (green-blind)
#95852C
Tritanopia (blue-blind)
#9A7B72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f8526;
/* rgb */ color: rgb(143, 133, 38);
/* oklch */ color: oklch(60.8% 0.113 103.2);
Tailwind
colors: {
  custom: {
    50: '#b3a867',
    500: '#8f8526',
    950: '#000000',
  },
}
SCSS
$custom: #8f8526;
$custom-light: #b3a867;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8526",
  "rgb": {
    "r": 143,
    "g": 133,
    "b": 38
  },
  "hsl": {
    "h": 54.286,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60794,
    "c": 0.11308,
    "h": 103.2
  },
  "luminance": 0.22755
}

Semantic roles & 50–950 ramp

primary
#8F8526
secondary
#5861B9
accent
#55E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8526

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

Preview Lab → · Contrast checker → · Palette generator →

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