#9F9C1D#9F9C1D

#9F9C1D is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.4% C 0.137 H 108.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9F9C1D
RGBrgb(159, 156, 29)
HSLhsl(59, 69%, 37%)
HSVhsv(59, 82%, 62%)
CMYKcmyk(0%, 1.9%, 81.8%, 37.6%)
CIE-LABlab(62.71, -12.99, 60.45)
CIE-LCHlch(62.71, 61.83, 102.13°)
OKLaboklab(67.41% -0.0428 0.1306)
OKLCHoklch(67.41% 0.137 108.1)
XYZxyz(26.4094, 31.2375, 5.8005)
Luminance0.3124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9C1D #1D209F
analogous
#9F5B1D #9F9C1D #619F1D
triadic
#9F9C1D #1D9F9C #9C1D9F
tetradic
#9F9C1D #1D9F5B #1D209F #9F1D61
square
#9F9C1D #1D9F5B #1D209F #9F1D61
split-complementary
#9F9C1D #1D619F #5B1D9F
monochromatic
#37360A #6B6914 #9F9C1D #D3CF26 #E0DD56

Accessibility & contrast

On white

2.90
#9F9C1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#9F9C1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9C1D
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9C1D#FFFFFF#000000##000000
##9F9C1D1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#AC9A29
Tritanopia (blue-blind)
#AB9185
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9f9c1d;
/* rgb */ color: rgb(159, 156, 29);
/* oklch */ color: oklch(67.4% 0.137 108.1);
Tailwind
colors: {
  custom: {
    50: '#bfb866',
    500: '#9f9c1d',
    950: '#000000',
  },
}
SCSS
$custom: #9f9c1d;
$custom-light: #bfb866;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9c1d",
  "rgb": {
    "r": 159,
    "g": 156,
    "b": 29
  },
  "hsl": {
    "h": 58.615,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.67407,
    "c": 0.13746,
    "h": 108.1
  },
  "luminance": 0.31237
}

Semantic roles & 50–950 ramp

primary
#9F9C1D
secondary
#5457C4
accent
#40EC3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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