#9A9725#9A9725

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

Color values

HEX#9A9725
RGBrgb(154, 151, 37)
HSLhsl(58, 61%, 37%)
HSVhsv(58, 76%, 60%)
CMYKcmyk(0%, 1.9%, 76%, 39.6%)
CIE-LABlab(60.90, -12.29, 56.18)
CIE-LCHlch(60.90, 57.51, 102.33°)
OKLaboklab(65.87% -0.0399 0.1232)
OKLCHoklch(65.87% 0.13 107.9)
XYZxyz(24.7279, 29.1376, 6.0715)
Luminance0.2914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9725 #25289A
analogous
#9A5D25 #9A9725 #629A25
triadic
#9A9725 #259A97 #97259A
tetradic
#9A9725 #259A5D #25289A #9A2562
square
#9A9725 #259A5D #25289A #9A2562
split-complementary
#9A9725 #25629A #5D259A
monochromatic
#37360D #696719 #9A9725 #CBC731 #D9D660

Accessibility & contrast

On white

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

On black

6.83
#9A9725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9725
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9725#FFFFFF#000000##000000
##9A97251.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910B
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#A58D81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9a9725;
/* rgb */ color: rgb(154, 151, 37);
/* oklch */ color: oklch(65.9% 0.130 107.9);
Tailwind
colors: {
  custom: {
    50: '#bbb569',
    500: '#9a9725',
    950: '#000000',
  },
}
SCSS
$custom: #9a9725;
$custom-light: #bbb569;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9725",
  "rgb": {
    "r": 154,
    "g": 151,
    "b": 37
  },
  "hsl": {
    "h": 58.462,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65874,
    "c": 0.12953,
    "h": 107.9
  },
  "luminance": 0.29137
}

Semantic roles & 50–950 ramp

primary
#9A9725
secondary
#5D5FBE
accent
#48E443
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9A9725

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

Preview Lab → · Contrast checker → · Palette generator →

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