#9F9327#9F9327

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

Color values

HEX#9F9327
RGBrgb(159, 147, 39)
HSLhsl(54, 61%, 39%)
HSVhsv(54, 75%, 62%)
CMYKcmyk(0%, 7.5%, 75.5%, 37.6%)
CIE-LABlab(60.24, -7.82, 55.01)
CIE-LCHlch(60.24, 55.57, 98.09°)
OKLaboklab(65.45% -0.0274 0.121)
OKLCHoklch(65.45% 0.124 102.8)
XYZxyz(25.0991, 28.3859, 6.0760)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9327 #27339F
analogous
#9F5727 #9F9327 #6F9F27
triadic
#9F9327 #279F93 #93279F
tetradic
#9F9327 #279F57 #27339F #9F276F
square
#9F9327 #279F57 #27339F #9F276F
split-complementary
#9F9327 #276F9F #57279F
monochromatic
#3D380F #6E661B #9F9327 #CEBE36 #DACE67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9327#FFFFFF#000000##000000
##9F93271.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)
#A18E12
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#AB887E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9f9327;
/* rgb */ color: rgb(159, 147, 39);
/* oklch */ color: oklch(65.5% 0.124 102.8);
Tailwind
colors: {
  custom: {
    50: '#bfb26a',
    500: '#9f9327',
    950: '#000000',
  },
}
SCSS
$custom: #9f9327;
$custom-light: #bfb26a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9327",
  "rgb": {
    "r": 159,
    "g": 147,
    "b": 39
  },
  "hsl": {
    "h": 54,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65454,
    "c": 0.12402,
    "h": 102.8
  },
  "luminance": 0.28385
}

Semantic roles & 50–950 ramp

primary
#9F9327
secondary
#626CC0
accent
#54E444
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9327

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

Preview Lab → · Contrast checker → · Palette generator →

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