#9F9625#9F9625

#9F9625 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.1% C 0.128 H 104.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9F9625
RGBrgb(159, 150, 37)
HSLhsl(56, 62%, 38%)
HSVhsv(56, 77%, 62%)
CMYKcmyk(0%, 5.7%, 76.7%, 37.6%)
CIE-LABlab(61.06, -9.51, 56.49)
CIE-LCHlch(61.06, 57.28, 99.56°)
OKLaboklab(66.11% -0.0324 0.1237)
OKLCHoklch(66.11% 0.128 104.7)
XYZxyz(25.5395, 29.3182, 6.0636)
Luminance0.2932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9625 #252E9F
analogous
#9F5925 #9F9625 #6B9F25
triadic
#9F9625 #259F96 #96259F
tetradic
#9F9625 #259F59 #252E9F #9F256B
square
#9F9625 #259F59 #252E9F #9F256B
split-complementary
#9F9625 #256B9F #59259F
monochromatic
#3C380E #6D6719 #9F9625 #CFC432 #DBD264

Accessibility & contrast

On white

3.06
#9F9625 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#9F9625 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9625
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9625#FFFFFF#000000##000000
##9F96251.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910B
Deuteranopia (green-blind)
#A7962E
Tritanopia (blue-blind)
#AB8B81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f9625;
/* rgb */ color: rgb(159, 150, 37);
/* oklch */ color: oklch(66.1% 0.128 104.7);
Tailwind
colors: {
  custom: {
    50: '#bfb469',
    500: '#9f9625',
    950: '#000000',
  },
}
SCSS
$custom: #9f9625;
$custom-light: #bfb469;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9625",
  "rgb": {
    "r": 159,
    "g": 150,
    "b": 37
  },
  "hsl": {
    "h": 55.574,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66107,
    "c": 0.12786,
    "h": 104.7
  },
  "luminance": 0.29317
}

Semantic roles & 50–950 ramp

primary
#9F9625
secondary
#5F67C0
accent
#4EE542
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9625

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

Preview Lab → · Contrast checker → · Palette generator →

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