#9F9223#9F9223

#9F9223 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 65.2% C 0.125 H 102.3°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9F9223
RGBrgb(159, 146, 35)
HSLhsl(54, 64%, 38%)
HSVhsv(54, 78%, 62%)
CMYKcmyk(0%, 8.2%, 78%, 37.6%)
CIE-LABlab(59.94, -7.45, 56.13)
CIE-LCHlch(59.94, 56.63, 97.56°)
OKLaboklab(65.21% -0.0268 0.1225)
OKLCHoklch(65.21% 0.125 102.3)
XYZxyz(24.8815, 28.0512, 5.6936)
Luminance0.2805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9223 #23309F
analogous
#9F5423 #9F9223 #6E9F23
triadic
#9F9223 #239F92 #92239F
tetradic
#9F9223 #239F54 #23309F #9F236E
square
#9F9223 #239F54 #23309F #9F236E
split-complementary
#9F9223 #236E9F #54239F
monochromatic
#3B360D #6D6418 #9F9223 #D1C02E #DCCF60

Accessibility & contrast

On white

3.18
#9F9223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#9F9223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9223
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9223#FFFFFF#000000##000000
##9F92231.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D08
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#AC877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9f9223;
/* rgb */ color: rgb(159, 146, 35);
/* oklch */ color: oklch(65.2% 0.125 102.3);
Tailwind
colors: {
  custom: {
    50: '#bfb168',
    500: '#9f9223',
    950: '#000000',
  },
}
SCSS
$custom: #9f9223;
$custom-light: #bfb168;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9223",
  "rgb": {
    "r": 159,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 53.71,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65207,
    "c": 0.12543,
    "h": 102.3
  },
  "luminance": 0.2805
}

Semantic roles & 50–950 ramp

primary
#9F9223
secondary
#5D67C1
accent
#52E741
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9223

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

Preview Lab → · Contrast checker → · Palette generator →

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