#9B9A2C#9B9A2C

#9B9A2C is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.7% C 0.128 H 108.9°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9B9A2C
RGBrgb(155, 154, 44)
HSLhsl(59, 56%, 39%)
HSVhsv(59, 72%, 61%)
CMYKcmyk(0%, 0.6%, 71.6%, 39.2%)
CIE-LABlab(61.88, -13.09, 54.62)
CIE-LCHlch(61.88, 56.17, 103.47°)
OKLaboklab(66.69% -0.0415 0.1212)
OKLCHoklch(66.69% 0.128 108.9)
XYZxyz(25.5287, 30.2624, 6.8788)
Luminance0.3026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9A2C #2C2D9B
analogous
#9B632C #9B9A2C #659B2C
triadic
#9B9A2C #2C9B9A #9A2C9B
tetradic
#9B9A2C #2C9B63 #2C2D9B #9B2C65
square
#9B9A2C #2C9B63 #2C2D9B #9B2C65
split-complementary
#9B9A2C #2C659B #632C9B
monochromatic
#3C3B11 #6B6B1E #9B9A2C #C8C73C #D5D46C

Accessibility & contrast

On white

2.98
#9B9A2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#9B9A2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9A2C
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9A2C#FFFFFF#000000##000000
##9B9A2C1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79419
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#A69084
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9b9a2c;
/* rgb */ color: rgb(155, 154, 44);
/* oklch */ color: oklch(66.7% 0.128 108.9);
Tailwind
colors: {
  custom: {
    50: '#bcb76d',
    500: '#9b9a2c',
    950: '#000000',
  },
}
SCSS
$custom: #9b9a2c;
$custom-light: #bcb76d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9a2c",
  "rgb": {
    "r": 155,
    "g": 154,
    "b": 44
  },
  "hsl": {
    "h": 59.459,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66688,
    "c": 0.12811,
    "h": 108.9
  },
  "luminance": 0.30262
}

Semantic roles & 50–950 ramp

primary
#9B9A2C
secondary
#6767BC
accent
#4ADF49
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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