#9A9723#9A9723

#9A9723 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 65.9% C 0.131 H 108.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9A9723
RGBrgb(154, 151, 35)
HSLhsl(58, 63%, 37%)
HSVhsv(58, 77%, 60%)
CMYKcmyk(0%, 1.9%, 77.3%, 39.6%)
CIE-LABlab(60.89, -12.37, 56.85)
CIE-LCHlch(60.89, 58.18, 102.28°)
OKLaboklab(65.86% -0.0403 0.1243)
OKLCHoklch(65.86% 0.131 108)
XYZxyz(24.6974, 29.1254, 5.9106)
Luminance0.2913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9723 #23269A
analogous
#9A5B23 #9A9723 #629A23
triadic
#9A9723 #239A97 #97239A
tetradic
#9A9723 #239A5B #23269A #9A2362
square
#9A9723 #239A5B #23269A #9A2362
split-complementary
#9A9723 #23629A #5B239A
monochromatic
#36350C #686618 #9A9723 #CCC82E #DAD75D

Accessibility & contrast

On white

3.08
#9A9723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#9A9723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9723
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9723#FFFFFF#000000##000000
##9A97231.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49105
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#A68D81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9a9723;
/* rgb */ color: rgb(154, 151, 35);
/* oklch */ color: oklch(65.9% 0.131 108.0);
Tailwind
colors: {
  custom: {
    50: '#bbb568',
    500: '#9a9723',
    950: '#000000',
  },
}
SCSS
$custom: #9a9723;
$custom-light: #bbb568;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9723",
  "rgb": {
    "r": 154,
    "g": 151,
    "b": 35
  },
  "hsl": {
    "h": 58.487,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65862,
    "c": 0.13064,
    "h": 108
  },
  "luminance": 0.29125
}

Semantic roles & 50–950 ramp

primary
#9A9723
secondary
#5A5CBF
accent
#46E642
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9A9723

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

Preview Lab → · Contrast checker → · Palette generator →

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