#9A9523#9A9523

#9A9523 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.4% C 0.129 H 106.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9A9523
RGBrgb(154, 149, 35)
HSLhsl(57, 63%, 37%)
HSVhsv(57, 77%, 60%)
CMYKcmyk(0%, 3.2%, 77.3%, 39.6%)
CIE-LABlab(60.33, -11.31, 56.33)
CIE-LCHlch(60.33, 57.45, 101.36°)
OKLaboklab(65.41% -0.0373 0.1232)
OKLCHoklch(65.41% 0.129 106.9)
XYZxyz(24.3782, 28.4871, 5.8042)
Luminance0.2849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9523 #23289A
analogous
#9A5A23 #9A9523 #649A23
triadic
#9A9523 #239A95 #95239A
tetradic
#9A9523 #239A5A #23289A #9A2364
square
#9A9523 #239A5A #23289A #9A2364
split-complementary
#9A9523 #23649A #5A239A
monochromatic
#36350C #686518 #9A9523 #CCC52E #DAD55D

Accessibility & contrast

On white

3.14
#9A9523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#9A9523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9523
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9523#FFFFFF#000000##000000
##9A95231.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F06
Deuteranopia (green-blind)
#A4932C
Tritanopia (blue-blind)
#A68B80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9a9523;
/* rgb */ color: rgb(154, 149, 35);
/* oklch */ color: oklch(65.4% 0.129 106.9);
Tailwind
colors: {
  custom: {
    50: '#bbb368',
    500: '#9a9523',
    950: '#000000',
  },
}
SCSS
$custom: #9a9523;
$custom-light: #bbb368;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9523",
  "rgb": {
    "r": 154,
    "g": 149,
    "b": 35
  },
  "hsl": {
    "h": 57.479,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65411,
    "c": 0.12871,
    "h": 106.9
  },
  "luminance": 0.28486
}

Semantic roles & 50–950 ramp

primary
#9A9523
secondary
#5A5EBF
accent
#49E642
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9A9523

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

Preview Lab → · Contrast checker → · Palette generator →

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