#9F9B1A#9F9B1A

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

Color values

HEX#9F9B1A
RGBrgb(159, 155, 26)
HSLhsl(58, 72%, 36%)
HSVhsv(58, 84%, 62%)
CMYKcmyk(0%, 2.5%, 83.6%, 37.6%)
CIE-LABlab(62.41, -12.56, 61.00)
CIE-LCHlch(62.41, 62.28, 101.63°)
OKLaboklab(67.17% -0.0418 0.1313)
OKLCHoklch(67.17% 0.138 107.7)
XYZxyz(26.2070, 30.8891, 5.5588)
Luminance0.3089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9B1A #1A1E9F
analogous
#9F591A #9F9B1A #619F1A
triadic
#9F9B1A #1A9F9B #9B1A9F
tetradic
#9F9B1A #1A9F59 #1A1E9F #9F1A61
square
#9F9B1A #1A9F59 #1A1E9F #9F1A61
split-complementary
#9F9B1A #1A619F #591A9F
monochromatic
#363409 #6A6811 #9F9B1A #D4CE23 #E3DE51

Accessibility & contrast

On white

2.93
#9F9B1A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9B1A#FFFFFF#000000##000000
##9F9B1A1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f9b1a;
/* rgb */ color: rgb(159, 155, 26);
/* oklch */ color: oklch(67.2% 0.138 107.7);
Tailwind
colors: {
  custom: {
    50: '#bfb865',
    500: '#9f9b1a',
    950: '#000000',
  },
}
SCSS
$custom: #9f9b1a;
$custom-light: #bfb865;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9b1a",
  "rgb": {
    "r": 159,
    "g": 155,
    "b": 26
  },
  "hsl": {
    "h": 58.195,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.67169,
    "c": 0.13777,
    "h": 107.7
  },
  "luminance": 0.30888
}

Semantic roles & 50–950 ramp

primary
#9F9B1A
secondary
#5053C5
accent
#3FEF39
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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