#9F9B1D#9F9B1D

#9F9B1D is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.2% C 0.137 H 107.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9F9B1D
RGBrgb(159, 155, 29)
HSLhsl(58, 69%, 37%)
HSVhsv(58, 82%, 62%)
CMYKcmyk(0%, 2.5%, 81.8%, 37.6%)
CIE-LABlab(62.43, -12.46, 60.20)
CIE-LCHlch(62.43, 61.48, 101.70°)
OKLaboklab(67.18% -0.0413 0.1301)
OKLCHoklch(67.18% 0.137 107.6)
XYZxyz(26.2423, 30.9033, 5.7448)
Luminance0.3090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9B1D #1D219F
analogous
#9F5A1D #9F9B1D #629F1D
triadic
#9F9B1D #1D9F9B #9B1D9F
tetradic
#9F9B1D #1D9F5A #1D219F #9F1D62
square
#9F9B1D #1D9F5A #1D219F #9F1D62
split-complementary
#9F9B1D #1D629F #5A1D9F
monochromatic
#37360A #6B6914 #9F9B1D #D3CD26 #E0DC56

Accessibility & contrast

On white

2.92
#9F9B1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#9F9B1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9B1D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9B1D#FFFFFF#000000##000000
##9F9B1D1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#AB9084
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9f9b1d;
/* rgb */ color: rgb(159, 155, 29);
/* oklch */ color: oklch(67.2% 0.137 107.6);
Tailwind
colors: {
  custom: {
    50: '#bfb866',
    500: '#9f9b1d',
    950: '#000000',
  },
}
SCSS
$custom: #9f9b1d;
$custom-light: #bfb866;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9b1d",
  "rgb": {
    "r": 159,
    "g": 155,
    "b": 29
  },
  "hsl": {
    "h": 58.154,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.67182,
    "c": 0.13651,
    "h": 107.6
  },
  "luminance": 0.30902
}

Semantic roles & 50–950 ramp

primary
#9F9B1D
secondary
#5458C4
accent
#41EC3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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