#9A9526#9A9526

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

Color values

HEX#9A9526
RGBrgb(154, 149, 38)
HSLhsl(57, 60%, 38%)
HSVhsv(57, 75%, 60%)
CMYKcmyk(0%, 3.2%, 75.3%, 39.6%)
CIE-LABlab(60.34, -11.18, 55.31)
CIE-LCHlch(60.34, 56.43, 101.43°)
OKLaboklab(65.43% -0.0367 0.1216)
OKLCHoklch(65.43% 0.127 106.8)
XYZxyz(24.4247, 28.5057, 6.0489)
Luminance0.2851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9526 #262B9A
analogous
#9A5B26 #9A9526 #659A26
triadic
#9A9526 #269A95 #95269A
tetradic
#9A9526 #269A5B #262B9A #9A2665
square
#9A9526 #269A5B #262B9A #9A2665
split-complementary
#9A9526 #26659A #5B269A
monochromatic
#38360E #69661A #9A9526 #CBC432 #D8D362

Accessibility & contrast

On white

3.13
#9A9526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A9526#FFFFFF#000000##000000
##9A95261.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a9526;
/* rgb */ color: rgb(154, 149, 38);
/* oklch */ color: oklch(65.4% 0.127 106.8);
Tailwind
colors: {
  custom: {
    50: '#bbb369',
    500: '#9a9526',
    950: '#000000',
  },
}
SCSS
$custom: #9a9526;
$custom-light: #bbb369;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9526",
  "rgb": {
    "r": 154,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 57.414,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65429,
    "c": 0.12701,
    "h": 106.8
  },
  "luminance": 0.28505
}

Semantic roles & 50–950 ramp

primary
#9A9526
secondary
#5E62BE
accent
#4BE444
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9A9526

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

Preview Lab → · Contrast checker → · Palette generator →

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