#9B9F24#9B9F24

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

Color values

HEX#9B9F24
RGBrgb(155, 159, 36)
HSLhsl(62, 63%, 38%)
HSVhsv(62, 77%, 62%)
CMYKcmyk(2.5%, 0%, 77.4%, 37.6%)
CIE-LABlab(63.25, -16.06, 58.71)
CIE-LCHlch(63.25, 60.87, 105.30°)
OKLaboklab(67.77% -0.0505 0.1284)
OKLCHoklch(67.77% 0.138 111.5)
XYZxyz(26.2351, 31.8929, 6.4427)
Luminance0.3189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9F24 #28249F
analogous
#9F6524 #9B9F24 #5D9F24
triadic
#9B9F24 #249B9F #9F249B
tetradic
#9B9F24 #249F65 #28249F #9F245D
square
#9B9F24 #249F65 #28249F #9F245D
split-complementary
#9B9F24 #245D9F #65249F
monochromatic
#3A3B0D #6A6D19 #9B9F24 #CBD030 #D7DB62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9F24#FFFFFF#000000##000000
##9B9F241.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)
#AC9802
Deuteranopia (green-blind)
#AC9B2F
Tritanopia (blue-blind)
#A69588
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9b9f24;
/* rgb */ color: rgb(155, 159, 36);
/* oklch */ color: oklch(67.8% 0.138 111.5);
Tailwind
colors: {
  custom: {
    50: '#bcbb6a',
    500: '#9b9f24',
    950: '#000000',
  },
}
SCSS
$custom: #9b9f24;
$custom-light: #bcbb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9f24",
  "rgb": {
    "r": 155,
    "g": 159,
    "b": 36
  },
  "hsl": {
    "h": 61.951,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67772,
    "c": 0.13798,
    "h": 111.5
  },
  "luminance": 0.31892
}

Semantic roles & 50–950 ramp

primary
#9B9F24
secondary
#615EC1
accent
#42E647
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9F24

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

Preview Lab → · Contrast checker → · Palette generator →

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