#9A9825#9A9825

#9A9825 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.1% C 0.131 H 108.5°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9A9825
RGBrgb(154, 152, 37)
HSLhsl(59, 61%, 37%)
HSVhsv(59, 76%, 60%)
CMYKcmyk(0%, 1.3%, 76%, 39.6%)
CIE-LABlab(61.19, -12.81, 56.45)
CIE-LCHlch(61.19, 57.88, 102.79°)
OKLaboklab(66.1% -0.0413 0.1238)
OKLCHoklch(66.1% 0.131 108.5)
XYZxyz(24.8895, 29.4609, 6.1253)
Luminance0.2946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9825 #25279A
analogous
#9A5D25 #9A9825 #629A25
triadic
#9A9825 #259A98 #98259A
tetradic
#9A9825 #259A5D #25279A #9A2562
square
#9A9825 #259A5D #25279A #9A2562
split-complementary
#9A9825 #25629A #5D259A
monochromatic
#37370D #696719 #9A9825 #CBC931 #D9D760

Accessibility & contrast

On white

3.05
#9A9825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#9A9825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9825
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9825#FFFFFF#000000##000000
##9A98251.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5920A
Deuteranopia (green-blind)
#A7952E
Tritanopia (blue-blind)
#A58E82
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9a9825;
/* rgb */ color: rgb(154, 152, 37);
/* oklch */ color: oklch(66.1% 0.131 108.5);
Tailwind
colors: {
  custom: {
    50: '#bbb669',
    500: '#9a9825',
    950: '#000000',
  },
}
SCSS
$custom: #9a9825;
$custom-light: #bbb669;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9825",
  "rgb": {
    "r": 154,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 58.974,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.661,
    "c": 0.13052,
    "h": 108.5
  },
  "luminance": 0.2946
}

Semantic roles & 50–950 ramp

primary
#9A9825
secondary
#5D5EBE
accent
#46E443
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9A9825

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

Preview Lab → · Contrast checker → · Palette generator →

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