#8F9923#8F9923

#8F9923 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.4% C 0.136 H 114.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8F9923
RGBrgb(143, 153, 35)
HSLhsl(65, 63%, 37%)
HSVhsv(65, 77%, 60%)
CMYKcmyk(6.5%, 0%, 77.1%, 40%)
CIE-LABlab(60.55, -18.30, 56.20)
CIE-LCHlch(60.55, 59.11, 108.03°)
OKLaboklab(65.37% -0.0562 0.1233)
OKLCHoklch(65.37% 0.136 114.5)
XYZxyz(23.0230, 28.7439, 5.9251)
Luminance0.2874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9923 #2D2399
analogous
#996823 #8F9923 #549923
triadic
#8F9923 #238F99 #99238F
tetradic
#8F9923 #239968 #2D2399 #992354
square
#8F9923 #239968 #2D2399 #992354
split-complementary
#8F9923 #235499 #682399
monochromatic
#32350C #606718 #8F9923 #BECB2E #CFDA5D

Accessibility & contrast

On white

3.11
#8F9923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#8F9923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9923
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9923#FFFFFF#000000##000000
##8F99231.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49104
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#999083
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8f9923;
/* rgb */ color: rgb(143, 153, 35);
/* oklch */ color: oklch(65.4% 0.136 114.5);
Tailwind
colors: {
  custom: {
    50: '#b3b668',
    500: '#8f9923',
    950: '#000000',
  },
}
SCSS
$custom: #8f9923;
$custom-light: #b3b668;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9923",
  "rgb": {
    "r": 143,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 65.085,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65369,
    "c": 0.13552,
    "h": 114.5
  },
  "luminance": 0.28743
}

Semantic roles & 50–950 ramp

primary
#8F9923
secondary
#6259BE
accent
#42E650
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9923

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

Preview Lab → · Contrast checker → · Palette generator →

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