#9B9F23#9B9F23

#9B9F23 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#9B9F23
RGBrgb(155, 159, 35)
HSLhsl(62, 64%, 38%)
HSVhsv(62, 78%, 62%)
CMYKcmyk(2.5%, 0%, 78%, 37.6%)
CIE-LABlab(63.25, -16.10, 59.02)
CIE-LCHlch(63.25, 61.18, 105.26°)
OKLaboklab(67.77% -0.0508 0.1289)
OKLCHoklch(67.77% 0.139 111.5)
XYZxyz(26.2200, 31.8869, 6.3634)
Luminance0.3189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9F23 #27239F
analogous
#9F6523 #9B9F23 #5D9F23
triadic
#9B9F23 #239B9F #9F239B
tetradic
#9B9F23 #239F65 #27239F #9F235D
square
#9B9F23 #239F65 #27239F #9F235D
split-complementary
#9B9F23 #235D9F #65239F
monochromatic
#393B0D #6A6D18 #9B9F23 #CCD12E #D8DC60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9F23#FFFFFF#000000##000000
##9B9F231.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)
#AC9B2E
Tritanopia (blue-blind)
#A69588
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9b9f23;
/* rgb */ color: rgb(155, 159, 35);
/* oklch */ color: oklch(67.8% 0.139 111.5);
Tailwind
colors: {
  custom: {
    50: '#bcbb69',
    500: '#9b9f23',
    950: '#000000',
  },
}
SCSS
$custom: #9b9f23;
$custom-light: #bcbb69;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9f23",
  "rgb": {
    "r": 155,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 61.935,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67766,
    "c": 0.1385,
    "h": 111.5
  },
  "luminance": 0.31886
}

Semantic roles & 50–950 ramp

primary
#9B9F23
secondary
#605DC1
accent
#41E746
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9F23

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

Preview Lab → · Contrast checker → · Palette generator →

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