#9F9225#9F9225

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

Color values

HEX#9F9225
RGBrgb(159, 146, 37)
HSLhsl(54, 62%, 38%)
HSVhsv(54, 77%, 62%)
CMYKcmyk(0%, 8.2%, 76.7%, 37.6%)
CIE-LABlab(59.95, -7.37, 55.45)
CIE-LCHlch(59.95, 55.94, 97.57°)
OKLaboklab(65.22% -0.0263 0.1215)
OKLCHoklch(65.22% 0.124 102.2)
XYZxyz(24.9120, 28.0634, 5.8545)
Luminance0.2806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9225 #25329F
analogous
#9F5525 #9F9225 #6F9F25
triadic
#9F9225 #259F92 #92259F
tetradic
#9F9225 #259F55 #25329F #9F256F
square
#9F9225 #259F55 #25329F #9F256F
split-complementary
#9F9225 #256F9F #55259F
monochromatic
#3C370E #6D6419 #9F9225 #CFBF32 #DBCE64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9225#FFFFFF#000000##000000
##9F92251.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)
#A08D0E
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#AC877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9f9225;
/* rgb */ color: rgb(159, 146, 37);
/* oklch */ color: oklch(65.2% 0.124 102.2);
Tailwind
colors: {
  custom: {
    50: '#bfb169',
    500: '#9f9225',
    950: '#000000',
  },
}
SCSS
$custom: #9f9225;
$custom-light: #bfb169;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9225",
  "rgb": {
    "r": 159,
    "g": 146,
    "b": 37
  },
  "hsl": {
    "h": 53.607,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65219,
    "c": 0.12431,
    "h": 102.2
  },
  "luminance": 0.28062
}

Semantic roles & 50–950 ramp

primary
#9F9225
secondary
#5F6AC0
accent
#54E542
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9225

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

Preview Lab → · Contrast checker → · Palette generator →

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