#9A9623#9A9623

#9A9623 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.6% C 0.130 H 107.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9A9623
RGBrgb(154, 150, 35)
HSLhsl(58, 63%, 37%)
HSVhsv(58, 77%, 60%)
CMYKcmyk(0%, 2.6%, 77.3%, 39.6%)
CIE-LABlab(60.61, -11.84, 56.59)
CIE-LCHlch(60.61, 57.81, 101.82°)
OKLaboklab(65.64% -0.0388 0.1237)
OKLCHoklch(65.64% 0.13 107.4)
XYZxyz(24.5371, 28.8049, 5.8572)
Luminance0.2880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9623 #23279A
analogous
#9A5B23 #9A9623 #639A23
triadic
#9A9623 #239A96 #96239A
tetradic
#9A9623 #239A5B #23279A #9A2363
square
#9A9623 #239A5B #23279A #9A2363
split-complementary
#9A9623 #23639A #5B239A
monochromatic
#36350C #686518 #9A9623 #CCC72E #DAD65D

Accessibility & contrast

On white

3.11
#9A9623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#9A9623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9623
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9623#FFFFFF#000000##000000
##9A96231.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39006
Deuteranopia (green-blind)
#A5942C
Tritanopia (blue-blind)
#A68C80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9a9623;
/* rgb */ color: rgb(154, 150, 35);
/* oklch */ color: oklch(65.6% 0.130 107.4);
Tailwind
colors: {
  custom: {
    50: '#bbb468',
    500: '#9a9623',
    950: '#000000',
  },
}
SCSS
$custom: #9a9623;
$custom-light: #bbb468;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9623",
  "rgb": {
    "r": 154,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 57.983,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65636,
    "c": 0.12967,
    "h": 107.4
  },
  "luminance": 0.28804
}

Semantic roles & 50–950 ramp

primary
#9A9623
secondary
#5A5DBF
accent
#47E642
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9A9623

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

Preview Lab → · Contrast checker → · Palette generator →

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