#9F9224#9F9224

#9F9224 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#9F9224
RGBrgb(159, 146, 36)
HSLhsl(54, 63%, 38%)
HSVhsv(54, 77%, 62%)
CMYKcmyk(0%, 8.2%, 77.4%, 37.6%)
CIE-LABlab(59.94, -7.41, 55.80)
CIE-LCHlch(59.94, 56.29, 97.57°)
OKLaboklab(65.21% -0.0266 0.122)
OKLCHoklch(65.21% 0.125 102.3)
XYZxyz(24.8966, 28.0572, 5.7729)
Luminance0.2806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9224 #24319F
analogous
#9F5524 #9F9224 #6E9F24
triadic
#9F9224 #249F92 #92249F
tetradic
#9F9224 #249F55 #24319F #9F246E
square
#9F9224 #249F55 #24319F #9F246E
split-complementary
#9F9224 #246E9F #55249F
monochromatic
#3B360D #6D6419 #9F9224 #D0BF30 #DBCF62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9224#FFFFFF#000000##000000
##9F92241.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)
#A08D0B
Deuteranopia (green-blind)
#A4932C
Tritanopia (blue-blind)
#AC877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9f9224;
/* rgb */ color: rgb(159, 146, 36);
/* oklch */ color: oklch(65.2% 0.125 102.3);
Tailwind
colors: {
  custom: {
    50: '#bfb168',
    500: '#9f9224',
    950: '#000000',
  },
}
SCSS
$custom: #9f9224;
$custom-light: #bfb168;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9224",
  "rgb": {
    "r": 159,
    "g": 146,
    "b": 36
  },
  "hsl": {
    "h": 53.659,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65213,
    "c": 0.12488,
    "h": 102.3
  },
  "luminance": 0.28056
}

Semantic roles & 50–950 ramp

primary
#9F9224
secondary
#5E69C1
accent
#53E642
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9224

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

Preview Lab → · Contrast checker → · Palette generator →

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