#9F9E1A#9F9E1A

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

Color values

HEX#9F9E1A
RGBrgb(159, 158, 26)
HSLhsl(60, 72%, 36%)
HSVhsv(60, 84%, 62%)
CMYKcmyk(0%, 0.6%, 83.6%, 37.6%)
CIE-LABlab(63.26, -14.13, 61.72)
CIE-LCHlch(63.26, 63.31, 102.89°)
OKLaboklab(67.84% -0.0461 0.1328)
OKLCHoklch(67.84% 0.141 109.2)
XYZxyz(26.7125, 31.9001, 5.7273)
Luminance0.3190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9E1A #1A1B9F
analogous
#9F5C1A #9F9E1A #5E9F1A
triadic
#9F9E1A #1A9F9E #9E1A9F
tetradic
#9F9E1A #1A9F5C #1A1B9F #9F1A5E
square
#9F9E1A #1A9F5C #1A1B9F #9F1A5E
split-complementary
#9F9E1A #1A5E9F #5C1A9F
monochromatic
#363509 #6A6A11 #9F9E1A #D4D223 #E3E151

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9E1A#FFFFFF#000000##000000
##9F9E1A1.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)
#AC9700
Deuteranopia (green-blind)
#AD9B27
Tritanopia (blue-blind)
#AB9387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9f9e1a;
/* rgb */ color: rgb(159, 158, 26);
/* oklch */ color: oklch(67.8% 0.141 109.2);
Tailwind
colors: {
  custom: {
    50: '#bfba66',
    500: '#9f9e1a',
    950: '#000000',
  },
}
SCSS
$custom: #9f9e1a;
$custom-light: #bfba66;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9e1a",
  "rgb": {
    "r": 159,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 59.549,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.67844,
    "c": 0.14062,
    "h": 109.2
  },
  "luminance": 0.31899
}

Semantic roles & 50–950 ramp

primary
#9F9E1A
secondary
#5051C5
accent
#3BEF39
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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