#9F9537#9F9537

#9F9537 is a light, moderate yellow. Relative luminance 0.291; OKLCH L 66.0% C 0.115 H 103.2°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9F9537
RGBrgb(159, 149, 55)
HSLhsl(54, 49%, 42%)
HSVhsv(54, 65%, 62%)
CMYKcmyk(0%, 6.3%, 65.4%, 37.6%)
CIE-LABlab(60.91, -8.02, 49.24)
CIE-LCHlch(60.91, 49.89, 99.26°)
OKLaboklab(66.02% -0.0262 0.1116)
OKLCHoklch(66.02% 0.115 103.2)
XYZxyz(25.7361, 29.1427, 7.8831)
Luminance0.2914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9537 #37419F
analogous
#9F6137 #9F9537 #759F37
triadic
#9F9537 #379F95 #95379F
tetradic
#9F9537 #379F61 #37419F #9F3775
square
#9F9537 #379F61 #37419F #9F3775
split-complementary
#9F9537 #37759F #61379F
monochromatic
#444018 #726A27 #9F9537 #C3B851 #D2CA7E

Accessibility & contrast

On white

3.08
#9F9537 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#9F9537 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9537
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9537#FFFFFF#000000##000000
##9F95371.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2902B
Deuteranopia (green-blind)
#A5953C
Tritanopia (blue-blind)
#AB8B81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f9537;
/* rgb */ color: rgb(159, 149, 55);
/* oklch */ color: oklch(66.0% 0.115 103.2);
Tailwind
colors: {
  custom: {
    50: '#beb373',
    500: '#9f9537',
    950: '#000000',
  },
}
SCSS
$custom: #9f9537;
$custom-light: #beb373;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9537",
  "rgb": {
    "r": 159,
    "g": 149,
    "b": 55
  },
  "hsl": {
    "h": 54.231,
    "s": 48.598,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66024,
    "c": 0.11466,
    "h": 103.2
  },
  "luminance": 0.29142
}

Semantic roles & 50–950 ramp

primary
#9F9537
secondary
#767DBC
accent
#5DD850
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9F9537

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

Preview Lab → · Contrast checker → · Palette generator →

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