#8F8523#8F8523

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

Color values

HEX#8F8523
RGBrgb(143, 133, 35)
HSLhsl(54, 61%, 35%)
HSVhsv(54, 76%, 56%)
CMYKcmyk(0%, 7%, 75.5%, 43.9%)
CIE-LABlab(54.80, -7.68, 50.81)
CIE-LCHlch(54.80, 51.39, 98.60°)
OKLaboklab(60.77% -0.0265 0.1119)
OKLCHoklch(60.77% 0.115 103.3)
XYZxyz(20.0195, 22.7369, 4.9239)
Luminance0.2274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8523 #232D8F
analogous
#8F4F23 #8F8523 #638F23
triadic
#8F8523 #238F85 #85238F
tetradic
#8F8523 #238F4F #232D8F #8F2363
square
#8F8523 #238F4F #232D8F #8F2363
split-complementary
#8F8523 #23638F #4F238F
monochromatic
#2D2A0B #5E5717 #8F8523 #C0B32F #D6CA57

Accessibility & contrast

On white

3.79
#8F8523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8523#FFFFFF#000000##000000
##8F85231.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f8523;
/* rgb */ color: rgb(143, 133, 35);
/* oklch */ color: oklch(60.8% 0.115 103.3);
Tailwind
colors: {
  custom: {
    50: '#b3a866',
    500: '#8f8523',
    950: '#000000',
  },
}
SCSS
$custom: #8f8523;
$custom-light: #b3a866;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8523",
  "rgb": {
    "r": 143,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 54.444,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60772,
    "c": 0.115,
    "h": 103.3
  },
  "luminance": 0.22736
}

Semantic roles & 50–950 ramp

primary
#8F8523
secondary
#545DBA
accent
#53E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8523

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

Preview Lab → · Contrast checker → · Palette generator →

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