#9F9925#9F9925

#9F9925 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.131 H 106.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9F9925
RGBrgb(159, 153, 37)
HSLhsl(57, 62%, 38%)
HSVhsv(57, 77%, 62%)
CMYKcmyk(0%, 3.8%, 76.7%, 37.6%)
CIE-LABlab(61.90, -11.11, 57.27)
CIE-LCHlch(61.90, 58.33, 100.98°)
OKLaboklab(66.78% -0.0368 0.1254)
OKLCHoklch(66.78% 0.131 106.4)
XYZxyz(26.0243, 30.2879, 6.2252)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9925 #252B9F
analogous
#9F5C25 #9F9925 #689F25
triadic
#9F9925 #259F99 #99259F
tetradic
#9F9925 #259F5C #252B9F #9F2568
square
#9F9925 #259F5C #252B9F #9F2568
split-complementary
#9F9925 #25689F #5C259F
monochromatic
#3C390E #6D6919 #9F9925 #CFC832 #DBD564

Accessibility & contrast

On white

2.98
#9F9925 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#9F9925 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9925
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9925#FFFFFF#000000##000000
##9F99251.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79309
Deuteranopia (green-blind)
#A9982E
Tritanopia (blue-blind)
#AB8E83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9f9925;
/* rgb */ color: rgb(159, 153, 37);
/* oklch */ color: oklch(66.8% 0.131 106.4);
Tailwind
colors: {
  custom: {
    50: '#bfb669',
    500: '#9f9925',
    950: '#000000',
  },
}
SCSS
$custom: #9f9925;
$custom-light: #bfb669;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9925",
  "rgb": {
    "r": 159,
    "g": 153,
    "b": 37
  },
  "hsl": {
    "h": 57.049,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66776,
    "c": 0.13065,
    "h": 106.4
  },
  "luminance": 0.30287
}

Semantic roles & 50–950 ramp

primary
#9F9925
secondary
#5F64C0
accent
#4AE542
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9925

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

Preview Lab → · Contrast checker → · Palette generator →

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