#9B9A2D#9B9A2D

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

Color values

HEX#9B9A2D
RGBrgb(155, 154, 45)
HSLhsl(59, 55%, 39%)
HSVhsv(59, 71%, 61%)
CMYKcmyk(0%, 0.6%, 71%, 39.2%)
CIE-LABlab(61.89, -13.04, 54.25)
CIE-LCHlch(61.89, 55.79, 103.51°)
OKLaboklab(66.7% -0.0413 0.1206)
OKLCHoklch(66.7% 0.127 108.9)
XYZxyz(25.5477, 30.2700, 6.9790)
Luminance0.3027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9A2D #2D2E9B
analogous
#9B632D #9B9A2D #659B2D
triadic
#9B9A2D #2D9B9A #9A2D9B
tetradic
#9B9A2D #2D9B63 #2D2E9B #9B2D65
square
#9B9A2D #2D9B63 #2D2E9B #9B2D65
split-complementary
#9B9A2D #2D659B #632D9B
monochromatic
#3C3C11 #6C6B1F #9B9A2D #C7C63E #D5D46E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9A2D#FFFFFF#000000##000000
##9B9A2D1.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)
#A7941B
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#A69085
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9b9a2d;
/* rgb */ color: rgb(155, 154, 45);
/* oklch */ color: oklch(66.7% 0.127 108.9);
Tailwind
colors: {
  custom: {
    50: '#bcb76d',
    500: '#9b9a2d',
    950: '#000000',
  },
}
SCSS
$custom: #9b9a2d;
$custom-light: #bcb76d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9a2d",
  "rgb": {
    "r": 155,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 59.455,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66696,
    "c": 0.12746,
    "h": 108.9
  },
  "luminance": 0.30269
}

Semantic roles & 50–950 ramp

primary
#9B9A2D
secondary
#6869BC
accent
#4BDE49
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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