#9A9626#9A9626

#9A9626 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.7% C 0.128 H 107.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9A9626
RGBrgb(154, 150, 38)
HSLhsl(58, 60%, 38%)
HSVhsv(58, 75%, 60%)
CMYKcmyk(0%, 2.6%, 75.3%, 39.6%)
CIE-LABlab(60.63, -11.71, 55.58)
CIE-LCHlch(60.63, 56.80, 101.90°)
OKLaboklab(65.66% -0.0382 0.1222)
OKLCHoklch(65.66% 0.128 107.4)
XYZxyz(24.5836, 28.8235, 6.1019)
Luminance0.2882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9626 #262A9A
analogous
#9A5C26 #9A9626 #649A26
triadic
#9A9626 #269A96 #96269A
tetradic
#9A9626 #269A5C #262A9A #9A2664
square
#9A9626 #269A5C #262A9A #9A2664
split-complementary
#9A9626 #26649A #5C269A
monochromatic
#38360E #69661A #9A9626 #CBC632 #D8D462

Accessibility & contrast

On white

3.10
#9A9626 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#9A9626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9626
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9626#FFFFFF#000000##000000
##9A96261.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3900E
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#A68C81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9a9626;
/* rgb */ color: rgb(154, 150, 38);
/* oklch */ color: oklch(65.7% 0.128 107.4);
Tailwind
colors: {
  custom: {
    50: '#bbb469',
    500: '#9a9626',
    950: '#000000',
  },
}
SCSS
$custom: #9a9626;
$custom-light: #bbb469;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9626",
  "rgb": {
    "r": 154,
    "g": 150,
    "b": 38
  },
  "hsl": {
    "h": 57.931,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65655,
    "c": 0.12798,
    "h": 107.4
  },
  "luminance": 0.28823
}

Semantic roles & 50–950 ramp

primary
#9A9626
secondary
#5E61BE
accent
#4AE444
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9A9626

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

Preview Lab → · Contrast checker → · Palette generator →

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