#9F9725#9F9725

#9F9725 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.3% C 0.129 H 105.3°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9F9725
RGBrgb(159, 151, 37)
HSLhsl(56, 62%, 38%)
HSVhsv(56, 77%, 62%)
CMYKcmyk(0%, 5%, 76.7%, 37.6%)
CIE-LABlab(61.34, -10.05, 56.75)
CIE-LCHlch(61.34, 57.63, 100.04°)
OKLaboklab(66.33% -0.0339 0.1242)
OKLCHoklch(66.33% 0.129 105.3)
XYZxyz(25.6997, 29.6387, 6.1170)
Luminance0.2964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9725 #252D9F
analogous
#9F5A25 #9F9725 #6A9F25
triadic
#9F9725 #259F97 #97259F
tetradic
#9F9725 #259F5A #252D9F #9F256A
square
#9F9725 #259F5A #252D9F #9F256A
split-complementary
#9F9725 #256A9F #5A259F
monochromatic
#3C390E #6D6819 #9F9725 #CFC532 #DBD364

Accessibility & contrast

On white

3.03
#9F9725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#9F9725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9725
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9725#FFFFFF#000000##000000
##9F97251.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5910B
Deuteranopia (green-blind)
#A8962E
Tritanopia (blue-blind)
#AB8C81
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9f9725;
/* rgb */ color: rgb(159, 151, 37);
/* oklch */ color: oklch(66.3% 0.129 105.3);
Tailwind
colors: {
  custom: {
    50: '#bfb569',
    500: '#9f9725',
    950: '#000000',
  },
}
SCSS
$custom: #9f9725;
$custom-light: #bfb569;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9725",
  "rgb": {
    "r": 159,
    "g": 151,
    "b": 37
  },
  "hsl": {
    "h": 56.066,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66329,
    "c": 0.12878,
    "h": 105.3
  },
  "luminance": 0.29638
}

Semantic roles & 50–950 ramp

primary
#9F9725
secondary
#5F66C0
accent
#4DE542
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9725

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

Preview Lab → · Contrast checker → · Palette generator →

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