#9F9331#9F9331

#9F9331 is a light, moderate yellow. Relative luminance 0.285; OKLCH L 65.5% C 0.117 H 102.3°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9F9331
RGBrgb(159, 147, 49)
HSLhsl(53, 53%, 41%)
HSVhsv(53, 69%, 62%)
CMYKcmyk(0%, 7.5%, 69.2%, 37.6%)
CIE-LABlab(60.30, -7.31, 51.18)
CIE-LCHlch(60.30, 51.70, 98.13°)
OKLaboklab(65.53% -0.0249 0.1147)
OKLCHoklch(65.53% 0.117 102.3)
XYZxyz(25.2872, 28.4612, 7.0667)
Luminance0.2846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9331 #313D9F
analogous
#9F5C31 #9F9331 #749F31
triadic
#9F9331 #319F93 #93319F
tetradic
#9F9331 #319F5C #313D9F #9F3174
square
#9F9331 #319F5C #313D9F #9F3174
split-complementary
#9F9331 #31749F #5C319F
monochromatic
#413C14 #706823 #9F9331 #C6B847 #D5CA76

Accessibility & contrast

On white

3.14
#9F9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#9F9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9331
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9331#FFFFFF#000000##000000
##9F93311.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E23
Deuteranopia (green-blind)
#A49437
Tritanopia (blue-blind)
#AB897F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9f9331;
/* rgb */ color: rgb(159, 147, 49);
/* oklch */ color: oklch(65.5% 0.117 102.3);
Tailwind
colors: {
  custom: {
    50: '#beb26f',
    500: '#9f9331',
    950: '#000000',
  },
}
SCSS
$custom: #9f9331;
$custom-light: #beb26f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9331",
  "rgb": {
    "r": 159,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 53.455,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65529,
    "c": 0.11739,
    "h": 102.3
  },
  "luminance": 0.2846
}

Semantic roles & 50–950 ramp

primary
#9F9331
secondary
#6F77BD
accent
#5BDC4C
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#131008
muted
#827F7B

Preview Lab

Preview with #9F9331

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

Preview Lab → · Contrast checker → · Palette generator →

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