#9B9D20#9B9D20

#9B9D20 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.138 H 110.6°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9B9D20
RGBrgb(155, 157, 32)
HSLhsl(61, 66%, 37%)
HSVhsv(61, 80%, 62%)
CMYKcmyk(1.3%, 0%, 79.6%, 38.4%)
CIE-LABlab(62.67, -15.18, 59.42)
CIE-LCHlch(62.67, 61.33, 104.33°)
OKLaboklab(67.3% -0.0484 0.1291)
OKLCHoklch(67.3% 0.138 110.6)
XYZxyz(25.8362, 31.1875, 6.0250)
Luminance0.3119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9D20 #22209D
analogous
#9D6120 #9B9D20 #5D9D20
triadic
#9B9D20 #209B9D #9D209B
tetradic
#9B9D20 #209D61 #22209D #9D205D
square
#9B9D20 #209D61 #22209D #9D205D
split-complementary
#9B9D20 #205D9D #61209D
monochromatic
#37370B #696A16 #9B9D20 #CDD02A #DBDD5A

Accessibility & contrast

On white

2.90
#9B9D20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#9B9D20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9D20
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9D20#FFFFFF#000000##000000
##9B9D201.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AB992B
Tritanopia (blue-blind)
#A69386
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9b9d20;
/* rgb */ color: rgb(155, 157, 32);
/* oklch */ color: oklch(67.3% 0.138 110.6);
Tailwind
colors: {
  custom: {
    50: '#bcb968',
    500: '#9b9d20',
    950: '#000000',
  },
}
SCSS
$custom: #9b9d20;
$custom-light: #bcb968;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9d20",
  "rgb": {
    "r": 155,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 60.96,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.67295,
    "c": 0.13794,
    "h": 110.6
  },
  "luminance": 0.31187
}

Semantic roles & 50–950 ramp

primary
#9B9D20
secondary
#5957C1
accent
#3FE941
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9D20

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

Preview Lab → · Contrast checker → · Palette generator →

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