#8F8723#8F8723

#8F8723 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.2% C 0.117 H 104.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8F8723
RGBrgb(143, 135, 35)
HSLhsl(56, 61%, 35%)
HSVhsv(56, 76%, 56%)
CMYKcmyk(0%, 5.6%, 75.5%, 43.9%)
CIE-LABlab(55.37, -8.77, 51.35)
CIE-LCHlch(55.37, 52.10, 99.69°)
OKLaboklab(61.22% -0.0296 0.1131)
OKLCHoklch(61.22% 0.117 104.7)
XYZxyz(20.2959, 23.2897, 5.0161)
Luminance0.2329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8723 #232B8F
analogous
#8F5123 #8F8723 #618F23
triadic
#8F8723 #238F87 #87238F
tetradic
#8F8723 #238F51 #232B8F #8F2361
square
#8F8723 #238F51 #232B8F #8F2361
split-complementary
#8F8723 #23618F #51238F
monochromatic
#2D2A0B #5E5917 #8F8723 #C0B52F #D6CC57

Accessibility & contrast

On white

3.71
#8F8723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8F8723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8723
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8723#FFFFFF#000000##000000
##8F87231.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820F
Deuteranopia (green-blind)
#96872A
Tritanopia (blue-blind)
#9A7D74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f8723;
/* rgb */ color: rgb(143, 135, 35);
/* oklch */ color: oklch(61.2% 0.117 104.7);
Tailwind
colors: {
  custom: {
    50: '#b3a966',
    500: '#8f8723',
    950: '#000000',
  },
}
SCSS
$custom: #8f8723;
$custom-light: #b3a966;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8723",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 55.556,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61225,
    "c": 0.11686,
    "h": 104.7
  },
  "luminance": 0.23289
}

Semantic roles & 50–950 ramp

primary
#8F8723
secondary
#545BBA
accent
#50E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8723

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

Preview Lab → · Contrast checker → · Palette generator →

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