#8F9723#8F9723

#8F9723 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 64.9% C 0.133 H 113.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8F9723
RGBrgb(143, 151, 35)
HSLhsl(64, 62%, 36%)
HSVhsv(64, 77%, 59%)
CMYKcmyk(5.3%, 0%, 76.8%, 40.8%)
CIE-LABlab(59.97, -17.27, 55.66)
CIE-LCHlch(59.97, 58.28, 107.23°)
OKLaboklab(64.9% -0.0533 0.1222)
OKLCHoklch(64.9% 0.133 113.6)
XYZxyz(22.6984, 28.0947, 5.8169)
Luminance0.2809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9723 #2B2397
analogous
#976523 #8F9723 #559723
triadic
#8F9723 #238F97 #97238F
tetradic
#8F9723 #239765 #2B2397 #972355
square
#8F9723 #239765 #2B2397 #972355
split-complementary
#8F9723 #235597 #652397
monochromatic
#31340C #606517 #8F9723 #BEC92F #D0D95B

Accessibility & contrast

On white

3.17
#8F9723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#8F9723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9723
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9723#FFFFFF#000000##000000
##8F97231.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F06
Deuteranopia (green-blind)
#A2922D
Tritanopia (blue-blind)
#998E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8f9723;
/* rgb */ color: rgb(143, 151, 35);
/* oklch */ color: oklch(64.9% 0.133 113.6);
Tailwind
colors: {
  custom: {
    50: '#b3b568',
    500: '#8f9723',
    950: '#000000',
  },
}
SCSS
$custom: #8f9723;
$custom-light: #b3b568;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9723",
  "rgb": {
    "r": 143,
    "g": 151,
    "b": 35
  },
  "hsl": {
    "h": 64.138,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64903,
    "c": 0.13332,
    "h": 113.6
  },
  "luminance": 0.28094
}

Semantic roles & 50–950 ramp

primary
#8F9723
secondary
#5F58BE
accent
#42E54E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9723

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

Preview Lab → · Contrast checker → · Palette generator →

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