#9B9E20#9B9E20

#9B9E20 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.5% C 0.139 H 111.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9B9E20
RGBrgb(155, 158, 32)
HSLhsl(61, 66%, 37%)
HSVhsv(61, 80%, 62%)
CMYKcmyk(1.9%, 0%, 79.7%, 38%)
CIE-LABlab(62.95, -15.70, 59.67)
CIE-LCHlch(62.95, 61.70, 104.74°)
OKLaboklab(67.52% -0.0499 0.1297)
OKLCHoklch(67.52% 0.139 111)
XYZxyz(26.0061, 31.5273, 6.0817)
Luminance0.3153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9E20 #23209E
analogous
#9E6220 #9B9E20 #5C9E20
triadic
#9B9E20 #209B9E #9E209B
tetradic
#9B9E20 #209E62 #23209E #9E205C
square
#9B9E20 #209E62 #23209E #9E205C
split-complementary
#9B9E20 #205C9E #62209E
monochromatic
#37380B #696B16 #9B9E20 #CDD12A #DBDE5B

Accessibility & contrast

On white

2.87
#9B9E20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#9B9E20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9E20
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9E20#FFFFFF#000000##000000
##9B9E201.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AC9A2C
Tritanopia (blue-blind)
#A69487
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9b9e20;
/* rgb */ color: rgb(155, 158, 32);
/* oklch */ color: oklch(67.5% 0.139 111.0);
Tailwind
colors: {
  custom: {
    50: '#bcba68',
    500: '#9b9e20',
    950: '#000000',
  },
}
SCSS
$custom: #9b9e20;
$custom-light: #bcba68;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9e20",
  "rgb": {
    "r": 155,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 61.429,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.67523,
    "c": 0.13896,
    "h": 111
  },
  "luminance": 0.31527
}

Semantic roles & 50–950 ramp

primary
#9B9E20
secondary
#5A58C2
accent
#3FE943
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9E20

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

Preview Lab → · Contrast checker → · Palette generator →

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