#9A9923#9A9923

#9A9923 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.3% C 0.133 H 109.0°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9A9923
RGBrgb(154, 153, 35)
HSLhsl(59, 63%, 37%)
HSVhsv(59, 77%, 60%)
CMYKcmyk(0%, 0.6%, 77.3%, 39.6%)
CIE-LABlab(61.46, -13.42, 57.36)
CIE-LCHlch(61.46, 58.91, 103.17°)
OKLaboklab(66.32% -0.0432 0.1254)
OKLCHoklch(66.32% 0.133 109)
XYZxyz(25.0220, 29.7746, 6.0188)
Luminance0.2977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9923 #23249A
analogous
#9A5E23 #9A9923 #609A23
triadic
#9A9923 #239A99 #99239A
tetradic
#9A9923 #239A5E #23249A #9A2360
square
#9A9923 #239A5E #23249A #9A2360
split-complementary
#9A9923 #23609A #5E239A
monochromatic
#36360C #686718 #9A9923 #CCCB2E #DAD95D

Accessibility & contrast

On white

3.02
#9A9923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#9A9923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9923
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9923#FFFFFF#000000##000000
##9A99231.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69204
Deuteranopia (green-blind)
#A8962D
Tritanopia (blue-blind)
#A58F83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9a9923;
/* rgb */ color: rgb(154, 153, 35);
/* oklch */ color: oklch(66.3% 0.133 109.0);
Tailwind
colors: {
  custom: {
    50: '#bbb668',
    500: '#9a9923',
    950: '#000000',
  },
}
SCSS
$custom: #9a9923;
$custom-light: #bbb668;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9923",
  "rgb": {
    "r": 154,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 59.496,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66315,
    "c": 0.13262,
    "h": 109
  },
  "luminance": 0.29774
}

Semantic roles & 50–950 ramp

primary
#9A9923
secondary
#5A5BBF
accent
#43E642
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9A9923

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

Preview Lab → · Contrast checker → · Palette generator →

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