#9F9326#9F9326

#9F9326 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.4% C 0.125 H 102.8°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9F9326
RGBrgb(159, 147, 38)
HSLhsl(54, 61%, 39%)
HSVhsv(54, 76%, 62%)
CMYKcmyk(0%, 7.5%, 76.1%, 37.6%)
CIE-LABlab(60.23, -7.87, 55.37)
CIE-LCHlch(60.23, 55.92, 98.08°)
OKLaboklab(65.45% -0.0276 0.1215)
OKLCHoklch(65.45% 0.125 102.8)
XYZxyz(25.0828, 28.3794, 5.9899)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9326 #26329F
analogous
#9F5626 #9F9326 #6E9F26
triadic
#9F9326 #269F93 #93269F
tetradic
#9F9326 #269F56 #26329F #9F266E
square
#9F9326 #269F56 #26329F #9F266E
split-complementary
#9F9326 #266E9F #56269F
monochromatic
#3C380E #6E651A #9F9326 #CEBF34 #DACF65

Accessibility & contrast

On white

3.15
#9F9326 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#9F9326 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9326
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9326#FFFFFF#000000##000000
##9F93261.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E10
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#AB887E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9f9326;
/* rgb */ color: rgb(159, 147, 38);
/* oklch */ color: oklch(65.4% 0.125 102.8);
Tailwind
colors: {
  custom: {
    50: '#bfb269',
    500: '#9f9326',
    950: '#000000',
  },
}
SCSS
$custom: #9f9326;
$custom-light: #bfb269;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9326",
  "rgb": {
    "r": 159,
    "g": 147,
    "b": 38
  },
  "hsl": {
    "h": 54.05,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65447,
    "c": 0.12461,
    "h": 102.8
  },
  "luminance": 0.28378
}

Semantic roles & 50–950 ramp

primary
#9F9326
secondary
#616AC0
accent
#53E543
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9326

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

Preview Lab → · Contrast checker → · Palette generator →

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