#9A9627#9A9627

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

Color values

HEX#9A9627
RGBrgb(154, 150, 39)
HSLhsl(58, 60%, 38%)
HSVhsv(58, 75%, 60%)
CMYKcmyk(0%, 2.6%, 74.7%, 39.6%)
CIE-LABlab(60.63, -11.67, 55.23)
CIE-LCHlch(60.63, 56.45, 101.93°)
OKLaboklab(65.66% -0.0379 0.1216)
OKLCHoklch(65.66% 0.127 107.3)
XYZxyz(24.5999, 28.8300, 6.1880)
Luminance0.2883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9627 #272B9A
analogous
#9A5C27 #9A9627 #649A27
triadic
#9A9627 #279A96 #96279A
tetradic
#9A9627 #279A5C #272B9A #9A2764
square
#9A9627 #279A5C #272B9A #9A2764
split-complementary
#9A9627 #27649A #5C279A
monochromatic
#38370E #69661B #9A9627 #CBC633 #D8D464

Accessibility & contrast

On white

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

On black

6.77
#9A9627 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9627
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9627#FFFFFF#000000##000000
##9A96271.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a9627;
/* rgb */ color: rgb(154, 150, 39);
/* oklch */ color: oklch(65.7% 0.127 107.3);
Tailwind
colors: {
  custom: {
    50: '#bbb46a',
    500: '#9a9627',
    950: '#000000',
  },
}
SCSS
$custom: #9a9627;
$custom-light: #bbb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9627",
  "rgb": {
    "r": 154,
    "g": 150,
    "b": 39
  },
  "hsl": {
    "h": 57.913,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65661,
    "c": 0.12738,
    "h": 107.3
  },
  "luminance": 0.28829
}

Semantic roles & 50–950 ramp

primary
#9A9627
secondary
#5F63BD
accent
#4BE345
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9A9627

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

Preview Lab → · Contrast checker → · Palette generator →

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