#8F8D23#8F8D23

#8F8D23 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.6% C 0.123 H 108.4°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8F8D23
RGBrgb(143, 141, 35)
HSLhsl(59, 61%, 35%)
HSVhsv(59, 76%, 56%)
CMYKcmyk(0%, 1.4%, 75.5%, 43.9%)
CIE-LABlab(57.09, -12.01, 52.97)
CIE-LCHlch(57.09, 54.32, 102.77°)
OKLaboklab(62.59% -0.0387 0.1165)
OKLCHoklch(62.59% 0.123 108.4)
XYZxyz(21.1567, 25.0114, 5.3030)
Luminance0.2501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8D23 #23258F
analogous
#8F5723 #8F8D23 #5B8F23
triadic
#8F8D23 #238F8D #8D238F
tetradic
#8F8D23 #238F57 #23258F #8F235B
square
#8F8D23 #238F57 #23258F #8F235B
split-complementary
#8F8D23 #235B8F #57238F
monochromatic
#2D2C0B #5E5D17 #8F8D23 #C0BD2F #D6D357

Accessibility & contrast

On white

3.50
#8F8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8F8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8D23
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8D23#FFFFFF#000000##000000
##8F8D231.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870C
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#9A8479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f8d23;
/* rgb */ color: rgb(143, 141, 35);
/* oklch */ color: oklch(62.6% 0.123 108.4);
Tailwind
colors: {
  custom: {
    50: '#b3ae67',
    500: '#8f8d23',
    950: '#000000',
  },
}
SCSS
$custom: #8f8d23;
$custom-light: #b3ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8d23",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 58.889,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62594,
    "c": 0.12273,
    "h": 108.4
  },
  "luminance": 0.25011
}

Semantic roles & 50–950 ramp

primary
#8F8D23
secondary
#5456BA
accent
#47E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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