#9F9538#9F9538

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

Color values

HEX#9F9538
RGBrgb(159, 149, 56)
HSLhsl(54, 48%, 42%)
HSVhsv(54, 65%, 62%)
CMYKcmyk(0%, 6.3%, 64.8%, 37.6%)
CIE-LABlab(60.92, -7.96, 48.81)
CIE-LCHlch(60.92, 49.45, 99.26°)
OKLaboklab(66.03% -0.0259 0.1109)
OKLCHoklch(66.03% 0.114 103.2)
XYZxyz(25.7603, 29.1523, 8.0107)
Luminance0.2915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9538 #38429F
analogous
#9F6238 #9F9538 #759F38
triadic
#9F9538 #389F95 #95389F
tetradic
#9F9538 #389F62 #38429F #9F3875
square
#9F9538 #389F62 #38429F #9F3875
split-complementary
#9F9538 #38759F #62389F
monochromatic
#444018 #726B28 #9F9538 #C2B752 #D2CA7F

Accessibility & contrast

On white

3.07
#9F9538 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9538#FFFFFF#000000##000000
##9F95381.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2902D
Deuteranopia (green-blind)
#A5953D
Tritanopia (blue-blind)
#AB8B82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f9538;
/* rgb */ color: rgb(159, 149, 56);
/* oklch */ color: oklch(66.0% 0.114 103.2);
Tailwind
colors: {
  custom: {
    50: '#beb373',
    500: '#9f9538',
    950: '#000000',
  },
}
SCSS
$custom: #9f9538;
$custom-light: #beb373;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9538",
  "rgb": {
    "r": 159,
    "g": 149,
    "b": 56
  },
  "hsl": {
    "h": 54.175,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66033,
    "c": 0.11385,
    "h": 103.2
  },
  "luminance": 0.29151
}

Semantic roles & 50–950 ramp

primary
#9F9538
secondary
#777EBB
accent
#5DD750
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9F9538

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

Preview Lab → · Contrast checker → · Palette generator →

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