#8F8530#8F8530

#8F8530 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.9% C 0.106 H 102.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8F8530
RGBrgb(143, 133, 48)
HSLhsl(54, 50%, 37%)
HSVhsv(54, 66%, 56%)
CMYKcmyk(0%, 7%, 66.4%, 43.9%)
CIE-LABlab(54.90, -6.96, 45.56)
CIE-LCHlch(54.90, 46.09, 98.68°)
OKLaboklab(60.88% -0.023 0.1032)
OKLCHoklch(60.88% 0.106 102.6)
XYZxyz(20.2495, 22.8289, 6.1355)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8530 #303A8F
analogous
#8F5530 #8F8530 #6A8F30
triadic
#8F8530 #308F85 #85308F
tetradic
#8F8530 #308F55 #303A8F #8F306A
square
#8F8530 #308F55 #303A8F #8F306A
split-complementary
#8F8530 #306A8F #55308F
monochromatic
#333011 #615A21 #8F8530 #BDB03F #CEC36C

Accessibility & contrast

On white

3.77
#8F8530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8F8530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8530
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8530#FFFFFF#000000##000000
##8F85301.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918125
Deuteranopia (green-blind)
#948535
Tritanopia (blue-blind)
#9A7C73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f8530;
/* rgb */ color: rgb(143, 133, 48);
/* oklch */ color: oklch(60.9% 0.106 102.6);
Tailwind
colors: {
  custom: {
    50: '#b3a86d',
    500: '#8f8530',
    950: '#000000',
  },
}
SCSS
$custom: #8f8530;
$custom-light: #b3a86d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8530",
  "rgb": {
    "r": 143,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 53.684,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60878,
    "c": 0.1057,
    "h": 102.6
  },
  "luminance": 0.22828
}

Semantic roles & 50–950 ramp

primary
#8F8530
secondary
#666EB5
accent
#5DD94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F8530

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

Preview Lab → · Contrast checker → · Palette generator →

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