#9B9F22#9B9F22

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

Color values

HEX#9B9F22
RGBrgb(155, 159, 34)
HSLhsl(62, 65%, 38%)
HSVhsv(62, 79%, 62%)
CMYKcmyk(2.5%, 0%, 78.6%, 37.6%)
CIE-LABlab(63.24, -16.14, 59.33)
CIE-LCHlch(63.24, 61.49, 105.22°)
OKLaboklab(67.76% -0.0509 0.1293)
OKLCHoklch(67.76% 0.139 111.5)
XYZxyz(26.2054, 31.8810, 6.2863)
Luminance0.3188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9F22 #26229F
analogous
#9F6422 #9B9F22 #5C9F22
triadic
#9B9F22 #229B9F #9F229B
tetradic
#9B9F22 #229F64 #26229F #9F225C
square
#9B9F22 #229F64 #26229F #9F225C
split-complementary
#9B9F22 #225C9F #64229F
monochromatic
#393A0C #6A6D17 #9B9F22 #CCD12D #D9DD5F

Accessibility & contrast

On white

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

On black

7.38
#9B9F22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9F22
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9F22#FFFFFF#000000##000000
##9B9F221.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b9f22;
/* rgb */ color: rgb(155, 159, 34);
/* oklch */ color: oklch(67.8% 0.139 111.5);
Tailwind
colors: {
  custom: {
    50: '#bcbb69',
    500: '#9b9f22',
    950: '#000000',
  },
}
SCSS
$custom: #9b9f22;
$custom-light: #bcbb69;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9f22",
  "rgb": {
    "r": 155,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 61.92,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67761,
    "c": 0.13901,
    "h": 111.5
  },
  "luminance": 0.3188
}

Semantic roles & 50–950 ramp

primary
#9B9F22
secondary
#5F5BC1
accent
#40E845
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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