#9C9723#9C9723

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

Color values

HEX#9C9723
RGBrgb(156, 151, 35)
HSLhsl(58, 63%, 37%)
HSVhsv(58, 78%, 61%)
CMYKcmyk(0%, 3.2%, 77.6%, 38.8%)
CIE-LABlab(61.07, -11.47, 57.07)
CIE-LCHlch(61.07, 58.21, 101.37°)
OKLaboklab(66.04% -0.0379 0.1247)
OKLCHoklch(66.04% 0.13 106.9)
XYZxyz(25.0813, 29.3234, 5.9286)
Luminance0.2932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9723 #23289C
analogous
#9C5B23 #9C9723 #649C23
triadic
#9C9723 #239C97 #97239C
tetradic
#9C9723 #239C5B #23289C #9C2364
square
#9C9723 #239C5B #23289C #9C2364
split-complementary
#9C9723 #23649C #5B239C
monochromatic
#38360D #6A6718 #9C9723 #CEC72E #DBD65E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C9723#FFFFFF#000000##000000
##9C97231.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)
#A7952C
Tritanopia (blue-blind)
#A88D81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9c9723;
/* rgb */ color: rgb(156, 151, 35);
/* oklch */ color: oklch(66.0% 0.130 106.9);
Tailwind
colors: {
  custom: {
    50: '#bdb568',
    500: '#9c9723',
    950: '#000000',
  },
}
SCSS
$custom: #9c9723;
$custom-light: #bdb568;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9723",
  "rgb": {
    "r": 156,
    "g": 151,
    "b": 35
  },
  "hsl": {
    "h": 57.521,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66043,
    "c": 0.13029,
    "h": 106.9
  },
  "luminance": 0.29322
}

Semantic roles & 50–950 ramp

primary
#9C9723
secondary
#5B5FC0
accent
#48E641
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9C9723

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

Preview Lab → · Contrast checker → · Palette generator →

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