#9F951C#9F951C

#9F951C is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.8% C 0.131 H 104.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9F951C
RGBrgb(159, 149, 28)
HSLhsl(55, 70%, 37%)
HSVhsv(55, 82%, 62%)
CMYKcmyk(0%, 6.3%, 82.4%, 37.6%)
CIE-LABlab(60.74, -9.32, 59.03)
CIE-LCHlch(60.74, 59.76, 98.97°)
OKLaboklab(65.83% -0.0326 0.1274)
OKLCHoklch(65.83% 0.131 104.4)
XYZxyz(25.2563, 28.9507, 5.3561)
Luminance0.2895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F951C #1C269F
analogous
#9F541C #9F951C #689F1C
triadic
#9F951C #1C9F95 #951C9F
tetradic
#9F951C #1C9F54 #1C269F #9F1C68
square
#9F951C #1C9F54 #1C269F #9F1C68
split-complementary
#9F951C #1C689F #541C9F
monochromatic
#37330A #6B6413 #9F951C #D3C625 #E1D654

Accessibility & contrast

On white

3.09
#9F951C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#9F951C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F951C
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F951C#FFFFFF#000000##000000
##9F951C1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A69527
Tritanopia (blue-blind)
#AC8A7F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9f951c;
/* rgb */ color: rgb(159, 149, 28);
/* oklch */ color: oklch(65.8% 0.131 104.4);
Tailwind
colors: {
  custom: {
    50: '#bfb365',
    500: '#9f951c',
    950: '#000000',
  },
}
SCSS
$custom: #9f951c;
$custom-light: #bfb365;
$custom-dark: #000000;
JSON
{
  "hex": "#9f951c",
  "rgb": {
    "r": 159,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 55.42,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65835,
    "c": 0.13148,
    "h": 104.4
  },
  "luminance": 0.2895
}

Semantic roles & 50–950 ramp

primary
#9F951C
secondary
#535BC4
accent
#49ED3B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F951C

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

Preview Lab → · Contrast checker → · Palette generator →

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