#9F9D3A#9F9D3A

#9F9D3A is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.8% C 0.120 H 108.1°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9F9D3A
RGBrgb(159, 157, 58)
HSLhsl(59, 47%, 43%)
HSVhsv(59, 64%, 62%)
CMYKcmyk(0%, 1.3%, 63.5%, 37.6%)
CIE-LABlab(63.17, -12.08, 50.32)
CIE-LCHlch(63.17, 51.75, 103.50°)
OKLaboklab(67.83% -0.0374 0.1144)
OKLCHoklch(67.83% 0.12 108.1)
XYZxyz(27.1197, 31.7912, 8.7099)
Luminance0.3179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9D3A #3A3C9F
analogous
#9F6B3A #9F9D3A #6E9F3A
triadic
#9F9D3A #3A9F9D #9D3A9F
tetradic
#9F9D3A #3A9F6B #3A3C9F #9F3A6E
square
#9F9D3A #3A9F6B #3A3C9F #9F3A6E
split-complementary
#9F9D3A #3A6E9F #6B3A9F
monochromatic
#454419 #72712A #9F9D3A #C1BF55 #D1D082

Accessibility & contrast

On white

2.85
#9F9D3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#9F9D3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9D3A
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9D3A#FFFFFF#000000##000000
##9F9D3A1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9972E
Deuteranopia (green-blind)
#AB9B40
Tritanopia (blue-blind)
#AA9388
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9f9d3a;
/* rgb */ color: rgb(159, 157, 58);
/* oklch */ color: oklch(67.8% 0.120 108.1);
Tailwind
colors: {
  custom: {
    50: '#beb975',
    500: '#9f9d3a',
    950: '#000000',
  },
}
SCSS
$custom: #9f9d3a;
$custom-light: #beb975;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9d3a",
  "rgb": {
    "r": 159,
    "g": 157,
    "b": 58
  },
  "hsl": {
    "h": 58.812,
    "s": 46.544,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67833,
    "c": 0.12033,
    "h": 108.1
  },
  "luminance": 0.3179
}

Semantic roles & 50–950 ramp

primary
#9F9D3A
secondary
#7A7BBB
accent
#54D652
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #9F9D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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