#9F9E1C#9F9E1C

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

Color values

HEX#9F9E1C
RGBrgb(159, 158, 28)
HSLhsl(60, 70%, 37%)
HSVhsv(60, 82%, 62%)
CMYKcmyk(0%, 0.6%, 82.4%, 37.6%)
CIE-LABlab(63.27, -14.06, 61.20)
CIE-LCHlch(63.27, 62.80, 102.94°)
OKLaboklab(67.85% -0.0458 0.1321)
OKLCHoklch(67.85% 0.14 109.1)
XYZxyz(26.7356, 31.9094, 5.8492)
Luminance0.3191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9E1C #1C1D9F
analogous
#9F5D1C #9F9E1C #5F9F1C
triadic
#9F9E1C #1C9F9E #9E1C9F
tetradic
#9F9E1C #1C9F5D #1C1D9F #9F1C5F
square
#9F9E1C #1C9F5D #1C1D9F #9F1C5F
split-complementary
#9F9E1C #1C5F9F #5D1C9F
monochromatic
#37370A #6B6A13 #9F9E1C #D3D225 #E1E054

Accessibility & contrast

On white

2.84
#9F9E1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9E1C#FFFFFF#000000##000000
##9F9E1C1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f9e1c;
/* rgb */ color: rgb(159, 158, 28);
/* oklch */ color: oklch(67.9% 0.140 109.1);
Tailwind
colors: {
  custom: {
    50: '#bfba66',
    500: '#9f9e1c',
    950: '#000000',
  },
}
SCSS
$custom: #9f9e1c;
$custom-light: #bfba66;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9e1c",
  "rgb": {
    "r": 159,
    "g": 158,
    "b": 28
  },
  "hsl": {
    "h": 59.542,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67853,
    "c": 0.13981,
    "h": 109.1
  },
  "luminance": 0.31908
}

Semantic roles & 50–950 ramp

primary
#9F9E1C
secondary
#5354C4
accent
#3CED3B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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