#9B9E19#9B9E19

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

Color values

HEX#9B9E19
RGBrgb(155, 158, 25)
HSLhsl(61, 73%, 36%)
HSVhsv(61, 84%, 62%)
CMYKcmyk(1.9%, 0%, 84.2%, 38%)
CIE-LABlab(62.92, -15.93, 61.55)
CIE-LCHlch(62.92, 63.58, 104.51°)
OKLaboklab(67.49% -0.051 0.1325)
OKLCHoklch(67.49% 0.142 111.1)
XYZxyz(25.9209, 31.4932, 5.6329)
Luminance0.3149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9E19 #1C199E
analogous
#9E5E19 #9B9E19 #589E19
triadic
#9B9E19 #199B9E #9E199B
tetradic
#9B9E19 #199E5E #1C199E #9E1958
square
#9B9E19 #199E5E #1C199E #9E1958
split-complementary
#9B9E19 #19589E #5E199E
monochromatic
#333408 #676911 #9B9E19 #CFD321 #E0E34E

Accessibility & contrast

On white

2.88
#9B9E19 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#9B9E19 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9E19
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9E19#FFFFFF#000000##000000
##9B9E191.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b9e19;
/* rgb */ color: rgb(155, 158, 25);
/* oklch */ color: oklch(67.5% 0.142 111.1);
Tailwind
colors: {
  custom: {
    50: '#bcba65',
    500: '#9b9e19',
    950: '#000000',
  },
}
SCSS
$custom: #9b9e19;
$custom-light: #bcba65;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9e19",
  "rgb": {
    "r": 155,
    "g": 158,
    "b": 25
  },
  "hsl": {
    "h": 61.353,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.67491,
    "c": 0.14197,
    "h": 111.1
  },
  "luminance": 0.31492
}

Semantic roles & 50–950 ramp

primary
#9B9E19
secondary
#504EC5
accent
#38EF3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9B9E19

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

Preview Lab → · Contrast checker → · Palette generator →

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