#9A9323#9A9323

#9A9323 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 65.0% C 0.127 H 105.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9A9323
RGBrgb(154, 147, 35)
HSLhsl(56, 63%, 37%)
HSVhsv(56, 77%, 60%)
CMYKcmyk(0%, 4.5%, 77.3%, 39.6%)
CIE-LABlab(59.76, -10.25, 55.81)
CIE-LCHlch(59.76, 56.74, 100.40°)
OKLaboklab(64.96% -0.0344 0.1221)
OKLCHoklch(64.96% 0.127 105.7)
XYZxyz(24.0645, 27.8597, 5.6996)
Luminance0.2786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9323 #232A9A
analogous
#9A5823 #9A9323 #659A23
triadic
#9A9323 #239A93 #93239A
tetradic
#9A9323 #239A58 #232A9A #9A2365
square
#9A9323 #239A58 #232A9A #9A2365
split-complementary
#9A9323 #23659A #58239A
monochromatic
#36340C #686318 #9A9323 #CCC32E #DAD35D

Accessibility & contrast

On white

3.20
#9A9323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#9A9323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9323
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9323#FFFFFF#000000##000000
##9A93231.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D08
Deuteranopia (green-blind)
#A3922C
Tritanopia (blue-blind)
#A6897E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9a9323;
/* rgb */ color: rgb(154, 147, 35);
/* oklch */ color: oklch(65.0% 0.127 105.7);
Tailwind
colors: {
  custom: {
    50: '#bbb268',
    500: '#9a9323',
    950: '#000000',
  },
}
SCSS
$custom: #9a9323;
$custom-light: #bbb268;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9323",
  "rgb": {
    "r": 154,
    "g": 147,
    "b": 35
  },
  "hsl": {
    "h": 56.471,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64961,
    "c": 0.1268,
    "h": 105.7
  },
  "luminance": 0.27859
}

Semantic roles & 50–950 ramp

primary
#9A9323
secondary
#5A60BF
accent
#4BE642
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A9323

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

Preview Lab → · Contrast checker → · Palette generator →

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