#9B9020#9B9020

#9B9020 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.4% C 0.126 H 103.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9B9020
RGBrgb(155, 144, 32)
HSLhsl(55, 66%, 37%)
HSVhsv(55, 79%, 61%)
CMYKcmyk(0%, 7.1%, 79.4%, 39.2%)
CIE-LABlab(58.99, -8.31, 56.13)
CIE-LCHlch(58.99, 56.75, 98.42°)
OKLaboklab(64.37% -0.0292 0.1221)
OKLCHoklch(64.37% 0.126 103.5)
XYZxyz(23.7526, 27.0204, 5.3305)
Luminance0.2702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9020 #202B9B
analogous
#9B5320 #9B9020 #699B20
triadic
#9B9020 #209B90 #90209B
tetradic
#9B9020 #209B53 #202B9B #9B2069
square
#9B9020 #209B53 #202B9B #9B2069
split-complementary
#9B9020 #20699B #53209B
monochromatic
#36320B #686116 #9B9020 #CEBF2A #DDD159

Accessibility & contrast

On white

3.28
#9B9020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#9B9020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9020
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9020#FFFFFF#000000##000000
##9B90201.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B02
Deuteranopia (green-blind)
#A19029
Tritanopia (blue-blind)
#A7857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9b9020;
/* rgb */ color: rgb(155, 144, 32);
/* oklch */ color: oklch(64.4% 0.126 103.5);
Tailwind
colors: {
  custom: {
    50: '#bcb066',
    500: '#9b9020',
    950: '#000000',
  },
}
SCSS
$custom: #9b9020;
$custom-light: #bcb066;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9020",
  "rgb": {
    "r": 155,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 54.634,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64366,
    "c": 0.12557,
    "h": 103.5
  },
  "luminance": 0.27019
}

Semantic roles & 50–950 ramp

primary
#9B9020
secondary
#5660C1
accent
#4EE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B9020

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

Preview Lab → · Contrast checker → · Palette generator →

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