#9F9422#9F9422

#9F9422 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.6% C 0.128 H 103.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9F9422
RGBrgb(159, 148, 34)
HSLhsl(55, 65%, 38%)
HSVhsv(55, 79%, 62%)
CMYKcmyk(0%, 6.9%, 78.6%, 37.6%)
CIE-LABlab(60.49, -8.57, 56.97)
CIE-LCHlch(60.49, 57.61, 98.55°)
OKLaboklab(65.64% -0.03 0.1241)
OKLCHoklch(65.64% 0.128 103.6)
XYZxyz(25.1779, 28.6673, 5.7202)
Luminance0.2867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9422 #222D9F
analogous
#9F5522 #9F9422 #6B9F22
triadic
#9F9422 #229F94 #94229F
tetradic
#9F9422 #229F55 #222D9F #9F226B
square
#9F9422 #229F55 #222D9F #9F226B
split-complementary
#9F9422 #226B9F #55229F
monochromatic
#3A360C #6D6517 #9F9422 #D1C32D #DDD25F

Accessibility & contrast

On white

3.12
#9F9422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#9F9422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9422
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9422#FFFFFF#000000##000000
##9F94221.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F04
Deuteranopia (green-blind)
#A5942B
Tritanopia (blue-blind)
#AB897F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9f9422;
/* rgb */ color: rgb(159, 148, 34);
/* oklch */ color: oklch(65.6% 0.128 103.6);
Tailwind
colors: {
  custom: {
    50: '#bfb367',
    500: '#9f9422',
    950: '#000000',
  },
}
SCSS
$custom: #9f9422;
$custom-light: #bfb367;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9422",
  "rgb": {
    "r": 159,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 54.72,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65644,
    "c": 0.12769,
    "h": 103.6
  },
  "luminance": 0.28666
}

Semantic roles & 50–950 ramp

primary
#9F9422
secondary
#5B64C1
accent
#4FE840
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9422

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

Preview Lab → · Contrast checker → · Palette generator →

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