#9F9934#9F9934

#9F9934 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.9% C 0.121 H 105.9°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9F9934
RGBrgb(159, 153, 52)
HSLhsl(57, 51%, 41%)
HSVhsv(57, 67%, 62%)
CMYKcmyk(0%, 3.8%, 67.3%, 37.6%)
CIE-LABlab(62.00, -10.35, 51.67)
CIE-LCHlch(62.00, 52.69, 101.32°)
OKLaboklab(66.88% -0.0332 0.1162)
OKLCHoklch(66.88% 0.121 105.9)
XYZxyz(26.3101, 30.4022, 7.7305)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9934 #343A9F
analogous
#9F6434 #9F9934 #709F34
triadic
#9F9934 #349F99 #99349F
tetradic
#9F9934 #349F64 #343A9F #9F3470
square
#9F9934 #349F64 #343A9F #9F3470
split-complementary
#9F9934 #34709F #64349F
monochromatic
#434016 #716D25 #9F9934 #C4BE4C #D3CE7A

Accessibility & contrast

On white

2.97
#9F9934 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#9F9934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9934
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9934#FFFFFF#000000##000000
##9F99341.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69326
Deuteranopia (green-blind)
#A8983A
Tritanopia (blue-blind)
#AB8F84
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9f9934;
/* rgb */ color: rgb(159, 153, 52);
/* oklch */ color: oklch(66.9% 0.121 105.9);
Tailwind
colors: {
  custom: {
    50: '#beb671',
    500: '#9f9934',
    950: '#000000',
  },
}
SCSS
$custom: #9f9934;
$custom-light: #beb671;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9934",
  "rgb": {
    "r": 159,
    "g": 153,
    "b": 52
  },
  "hsl": {
    "h": 56.636,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66885,
    "c": 0.12088,
    "h": 105.9
  },
  "luminance": 0.30401
}

Semantic roles & 50–950 ramp

primary
#9F9934
secondary
#7377BC
accent
#55DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9F9934

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

Preview Lab → · Contrast checker → · Palette generator →

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