#9B9F20#9B9F20

#9B9F20 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.8% C 0.140 H 111.5°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9B9F20
RGBrgb(155, 159, 32)
HSLhsl(62, 66%, 37%)
HSVhsv(62, 80%, 62%)
CMYKcmyk(2.5%, 0%, 79.9%, 37.6%)
CIE-LABlab(63.24, -16.22, 59.92)
CIE-LCHlch(63.24, 62.08, 105.15°)
OKLaboklab(67.75% -0.0513 0.1302)
OKLCHoklch(67.75% 0.14 111.5)
XYZxyz(26.1773, 31.8698, 6.1388)
Luminance0.3187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9F20 #24209F
analogous
#9F6420 #9B9F20 #5B9F20
triadic
#9B9F20 #209B9F #9F209B
tetradic
#9B9F20 #209F64 #24209F #9F205B
square
#9B9F20 #209F64 #24209F #9F205B
split-complementary
#9B9F20 #205B9F #64209F
monochromatic
#38390B #696C16 #9B9F20 #CDD22A #DADE5B

Accessibility & contrast

On white

2.85
#9B9F20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#9B9F20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9F20
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9F20#FFFFFF#000000##000000
##9B9F201.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AD9B2C
Tritanopia (blue-blind)
#A69588
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9b9f20;
/* rgb */ color: rgb(155, 159, 32);
/* oklch */ color: oklch(67.8% 0.140 111.5);
Tailwind
colors: {
  custom: {
    50: '#bcbb68',
    500: '#9b9f20',
    950: '#000000',
  },
}
SCSS
$custom: #9b9f20;
$custom-light: #bcbb68;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9f20",
  "rgb": {
    "r": 155,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 61.89,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.67751,
    "c": 0.13998,
    "h": 111.5
  },
  "luminance": 0.31869
}

Semantic roles & 50–950 ramp

primary
#9B9F20
secondary
#5C59C2
accent
#3EE944
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9F20

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

Preview Lab → · Contrast checker → · Palette generator →

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