#9B9627#9B9627

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

Color values

HEX#9B9627
RGBrgb(155, 150, 39)
HSLhsl(57, 60%, 38%)
HSVhsv(57, 75%, 61%)
CMYKcmyk(0%, 3.2%, 74.8%, 39.2%)
CIE-LABlab(60.72, -11.22, 55.34)
CIE-LCHlch(60.72, 56.47, 101.46°)
OKLaboklab(65.75% -0.0368 0.1218)
OKLCHoklch(65.75% 0.127 106.8)
XYZxyz(24.7911, 28.9286, 6.1970)
Luminance0.2893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9627 #272C9B
analogous
#9B5C27 #9B9627 #669B27
triadic
#9B9627 #279B96 #96279B
tetradic
#9B9627 #279B5C #272C9B #9B2766
square
#9B9627 #279B5C #272C9B #9B2766
split-complementary
#9B9627 #27669B #5C279B
monochromatic
#39370E #6A671B #9B9627 #CCC533 #D8D364

Accessibility & contrast

On white

3.09
#9B9627 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#9B9627 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9627
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9627#FFFFFF#000000##000000
##9B96271.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b9627;
/* rgb */ color: rgb(155, 150, 39);
/* oklch */ color: oklch(65.8% 0.127 106.8);
Tailwind
colors: {
  custom: {
    50: '#bcb46a',
    500: '#9b9627',
    950: '#000000',
  },
}
SCSS
$custom: #9b9627;
$custom-light: #bcb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9627",
  "rgb": {
    "r": 155,
    "g": 150,
    "b": 39
  },
  "hsl": {
    "h": 57.414,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65752,
    "c": 0.12723,
    "h": 106.8
  },
  "luminance": 0.28928
}

Semantic roles & 50–950 ramp

primary
#9B9627
secondary
#6064BE
accent
#4CE345
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9627

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

Preview Lab → · Contrast checker → · Palette generator →

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