#9F9623#9F9623

#9F9623 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.1% C 0.129 H 104.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9F9623
RGBrgb(159, 150, 35)
HSLhsl(56, 64%, 38%)
HSVhsv(56, 78%, 62%)
CMYKcmyk(0%, 5.7%, 78%, 37.6%)
CIE-LABlab(61.05, -9.60, 57.15)
CIE-LCHlch(61.05, 57.95, 99.53°)
OKLaboklab(66.1% -0.0328 0.1247)
OKLCHoklch(66.1% 0.129 104.7)
XYZxyz(25.5089, 29.3060, 5.9027)
Luminance0.2930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9623 #232C9F
analogous
#9F5823 #9F9623 #6A9F23
triadic
#9F9623 #239F96 #96239F
tetradic
#9F9623 #239F58 #232C9F #9F236A
square
#9F9623 #239F58 #232C9F #9F236A
split-complementary
#9F9623 #236A9F #58239F
monochromatic
#3B370D #6D6718 #9F9623 #D1C52E #DCD360

Accessibility & contrast

On white

3.06
#9F9623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#9F9623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9623
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9623#FFFFFF#000000##000000
##9F96231.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49105
Deuteranopia (green-blind)
#A7962C
Tritanopia (blue-blind)
#AB8B80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f9623;
/* rgb */ color: rgb(159, 150, 35);
/* oklch */ color: oklch(66.1% 0.129 104.7);
Tailwind
colors: {
  custom: {
    50: '#bfb468',
    500: '#9f9623',
    950: '#000000',
  },
}
SCSS
$custom: #9f9623;
$custom-light: #bfb468;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9623",
  "rgb": {
    "r": 159,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 55.645,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66095,
    "c": 0.12895,
    "h": 104.7
  },
  "luminance": 0.29305
}

Semantic roles & 50–950 ramp

primary
#9F9623
secondary
#5D64C1
accent
#4DE741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9623

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

Preview Lab → · Contrast checker → · Palette generator →

#9F9623 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva