#9B8D20#9B8D20

#9B8D20 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.7% C 0.123 H 101.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9B8D20
RGBrgb(155, 141, 32)
HSLhsl(53, 66%, 37%)
HSVhsv(53, 79%, 61%)
CMYKcmyk(0%, 9%, 79.4%, 39.2%)
CIE-LABlab(58.15, -6.68, 55.38)
CIE-LCHlch(58.15, 55.78, 96.88°)
OKLaboklab(63.7% -0.0247 0.1205)
OKLCHoklch(63.7% 0.123 101.6)
XYZxyz(23.3043, 26.1237, 5.1811)
Luminance0.2612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D20 #202E9B
analogous
#9B5020 #9B8D20 #6C9B20
triadic
#9B8D20 #209B8D #8D209B
tetradic
#9B8D20 #209B50 #202E9B #9B206C
square
#9B8D20 #209B50 #202E9B #9B206C
split-complementary
#9B8D20 #206C9B #50209B
monochromatic
#36310B #685F16 #9B8D20 #CEBB2A #DDCE59

Accessibility & contrast

On white

3.37
#9B8D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#9B8D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8D20
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8D20#FFFFFF#000000##000000
##9B8D201.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8904
Deuteranopia (green-blind)
#9F8E28
Tritanopia (blue-blind)
#A78279
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b8d20;
/* rgb */ color: rgb(155, 141, 32);
/* oklch */ color: oklch(63.7% 0.123 101.6);
Tailwind
colors: {
  custom: {
    50: '#bcae65',
    500: '#9b8d20',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d20;
$custom-light: #bcae65;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d20",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 53.171,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63699,
    "c": 0.123,
    "h": 101.6
  },
  "luminance": 0.26123
}

Semantic roles & 50–950 ramp

primary
#9B8D20
secondary
#5662C1
accent
#52E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B8D20

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

Preview Lab → · Contrast checker → · Palette generator →

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