#9F9825#9F9825

#9F9825 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.6% C 0.130 H 105.8°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9F9825
RGBrgb(159, 152, 37)
HSLhsl(57, 62%, 38%)
HSVhsv(57, 77%, 62%)
CMYKcmyk(0%, 4.4%, 76.7%, 37.6%)
CIE-LABlab(61.62, -10.58, 57.01)
CIE-LCHlch(61.62, 57.98, 100.51°)
OKLaboklab(66.55% -0.0354 0.1248)
OKLCHoklch(66.55% 0.13 105.8)
XYZxyz(25.8613, 29.9620, 6.1709)
Luminance0.2996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9825 #252C9F
analogous
#9F5B25 #9F9825 #699F25
triadic
#9F9825 #259F98 #98259F
tetradic
#9F9825 #259F5B #252C9F #9F2569
square
#9F9825 #259F5B #252C9F #9F2569
split-complementary
#9F9825 #25699F #5B259F
monochromatic
#3C390E #6D6919 #9F9825 #CFC632 #DBD464

Accessibility & contrast

On white

3.00
#9F9825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#9F9825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9825
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9825#FFFFFF#000000##000000
##9F98251.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6920A
Deuteranopia (green-blind)
#A8972E
Tritanopia (blue-blind)
#AB8D82
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9f9825;
/* rgb */ color: rgb(159, 152, 37);
/* oklch */ color: oklch(66.6% 0.130 105.8);
Tailwind
colors: {
  custom: {
    50: '#bfb669',
    500: '#9f9825',
    950: '#000000',
  },
}
SCSS
$custom: #9f9825;
$custom-light: #bfb669;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9825",
  "rgb": {
    "r": 159,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 56.557,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66553,
    "c": 0.12971,
    "h": 105.8
  },
  "luminance": 0.29961
}

Semantic roles & 50–950 ramp

primary
#9F9825
secondary
#5F65C0
accent
#4CE542
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9825

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

Preview Lab → · Contrast checker → · Palette generator →

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