#9F9232#9F9232

#9F9232 is a light, moderate yellow. Relative luminance 0.282; OKLCH L 65.3% C 0.116 H 101.5°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9F9232
RGBrgb(159, 146, 50)
HSLhsl(53, 52%, 41%)
HSVhsv(53, 69%, 62%)
CMYKcmyk(0%, 8.2%, 68.6%, 37.6%)
CIE-LABlab(60.03, -6.71, 50.49)
CIE-LCHlch(60.03, 50.93, 97.58°)
OKLaboklab(65.32% -0.0231 0.1134)
OKLCHoklch(65.32% 0.116 101.5)
XYZxyz(25.1538, 28.1601, 7.1275)
Luminance0.2816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9232 #323F9F
analogous
#9F5B32 #9F9232 #759F32
triadic
#9F9232 #329F92 #92329F
tetradic
#9F9232 #329F5B #323F9F #9F3275
square
#9F9232 #329F5B #323F9F #9F3275
split-complementary
#9F9232 #32759F #5B329F
monochromatic
#423C15 #706723 #9F9232 #C6B749 #D4C977

Accessibility & contrast

On white

3.17
#9F9232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#9F9232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9232
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9232#FFFFFF#000000##000000
##9F92321.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E25
Deuteranopia (green-blind)
#A39338
Tritanopia (blue-blind)
#AB887E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9f9232;
/* rgb */ color: rgb(159, 146, 50);
/* oklch */ color: oklch(65.3% 0.116 101.5);
Tailwind
colors: {
  custom: {
    50: '#beb16f',
    500: '#9f9232',
    950: '#000000',
  },
}
SCSS
$custom: #9f9232;
$custom-light: #beb16f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9232",
  "rgb": {
    "r": 159,
    "g": 146,
    "b": 50
  },
  "hsl": {
    "h": 52.844,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65316,
    "c": 0.11574,
    "h": 101.5
  },
  "luminance": 0.28159
}

Semantic roles & 50–950 ramp

primary
#9F9232
secondary
#7079BD
accent
#5DDC4C
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#131008
muted
#827F7B

Preview Lab

Preview with #9F9232

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

Preview Lab → · Contrast checker → · Palette generator →

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