#9B9F1D#9B9F1D

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

Color values

HEX#9B9F1D
RGBrgb(155, 159, 29)
HSLhsl(62, 69%, 37%)
HSVhsv(62, 82%, 62%)
CMYKcmyk(2.5%, 0%, 81.8%, 37.6%)
CIE-LABlab(63.22, -16.33, 60.76)
CIE-LCHlch(63.22, 62.92, 105.04°)
OKLaboklab(67.74% -0.0518 0.1315)
OKLCHoklch(67.74% 0.141 111.5)
XYZxyz(26.1384, 31.8542, 5.9337)
Luminance0.3185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9F1D #211D9F
analogous
#9F621D #9B9F1D #5A9F1D
triadic
#9B9F1D #1D9B9F #9F1D9B
tetradic
#9B9F1D #1D9F62 #211D9F #9F1D5A
square
#9B9F1D #1D9F62 #211D9F #9F1D5A
split-complementary
#9B9F1D #1D5A9F #621D9F
monochromatic
#36370A #696B14 #9B9F1D #CDD326 #DCE056

Accessibility & contrast

On white

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

On black

7.37
#9B9F1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9F1D
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9F1D#FFFFFF#000000##000000
##9B9F1D1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b9f1d;
/* rgb */ color: rgb(155, 159, 29);
/* oklch */ color: oklch(67.7% 0.141 111.5);
Tailwind
colors: {
  custom: {
    50: '#bcbb67',
    500: '#9b9f1d',
    950: '#000000',
  },
}
SCSS
$custom: #9b9f1d;
$custom-light: #bcbb67;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9f1d",
  "rgb": {
    "r": 155,
    "g": 159,
    "b": 29
  },
  "hsl": {
    "h": 61.846,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.67736,
    "c": 0.14134,
    "h": 111.5
  },
  "luminance": 0.31854
}

Semantic roles & 50–950 ramp

primary
#9B9F1D
secondary
#5854C4
accent
#3CEC41
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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