#9A9527#9A9527

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

Color values

HEX#9A9527
RGBrgb(154, 149, 39)
HSLhsl(57, 60%, 38%)
HSVhsv(57, 75%, 60%)
CMYKcmyk(0%, 3.2%, 74.7%, 39.6%)
CIE-LABlab(60.35, -11.14, 54.96)
CIE-LCHlch(60.35, 56.08, 101.45°)
OKLaboklab(65.44% -0.0365 0.121)
OKLCHoklch(65.44% 0.126 106.8)
XYZxyz(24.4411, 28.5123, 6.1350)
Luminance0.2851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9527 #272C9A
analogous
#9A5B27 #9A9527 #669A27
triadic
#9A9527 #279A95 #95279A
tetradic
#9A9527 #279A5B #272C9A #9A2766
square
#9A9527 #279A5B #272C9A #9A2766
split-complementary
#9A9527 #27669A #5B279A
monochromatic
#38370E #69661B #9A9527 #CBC433 #D8D364

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A9527#FFFFFF#000000##000000
##9A95271.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)
#A28F11
Deuteranopia (green-blind)
#A4932F
Tritanopia (blue-blind)
#A68B80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9a9527;
/* rgb */ color: rgb(154, 149, 39);
/* oklch */ color: oklch(65.4% 0.126 106.8);
Tailwind
colors: {
  custom: {
    50: '#bbb36a',
    500: '#9a9527',
    950: '#000000',
  },
}
SCSS
$custom: #9a9527;
$custom-light: #bbb36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9527",
  "rgb": {
    "r": 154,
    "g": 149,
    "b": 39
  },
  "hsl": {
    "h": 57.391,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65436,
    "c": 0.12641,
    "h": 106.8
  },
  "luminance": 0.28511
}

Semantic roles & 50–950 ramp

primary
#9A9527
secondary
#5F64BD
accent
#4CE345
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9A9527

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

Preview Lab → · Contrast checker → · Palette generator →

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