#9C9623#9C9623

#9C9623 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.8% C 0.129 H 106.4°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9C9623
RGBrgb(156, 150, 35)
HSLhsl(57, 63%, 37%)
HSVhsv(57, 78%, 61%)
CMYKcmyk(0%, 3.8%, 77.6%, 38.8%)
CIE-LABlab(60.78, -10.94, 56.81)
CIE-LCHlch(60.78, 57.86, 100.90°)
OKLaboklab(65.82% -0.0364 0.1241)
OKLCHoklch(65.82% 0.129 106.4)
XYZxyz(24.9211, 29.0029, 5.8752)
Luminance0.2900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9623 #23299C
analogous
#9C5A23 #9C9623 #659C23
triadic
#9C9623 #239C96 #96239C
tetradic
#9C9623 #239C5A #23299C #9C2365
square
#9C9623 #239C5A #23299C #9C2365
split-complementary
#9C9623 #23659C #5A239C
monochromatic
#38360D #6A6618 #9C9623 #CEC62E #DBD55E

Accessibility & contrast

On white

3.09
#9C9623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#9C9623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9623
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9623#FFFFFF#000000##000000
##9C96231.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39006
Deuteranopia (green-blind)
#A6952C
Tritanopia (blue-blind)
#A88C80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9c9623;
/* rgb */ color: rgb(156, 150, 35);
/* oklch */ color: oklch(65.8% 0.129 106.4);
Tailwind
colors: {
  custom: {
    50: '#bdb468',
    500: '#9c9623',
    950: '#000000',
  },
}
SCSS
$custom: #9c9623;
$custom-light: #bdb468;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9623",
  "rgb": {
    "r": 156,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 57.025,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65818,
    "c": 0.12934,
    "h": 106.4
  },
  "luminance": 0.29002
}

Semantic roles & 50–950 ramp

primary
#9C9623
secondary
#5B60C0
accent
#4AE641
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9C9623

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

Preview Lab → · Contrast checker → · Palette generator →

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