#9F9F25#9F9F25

#9F9F25 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.1% C 0.137 H 109.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#9F9F25
RGBrgb(159, 159, 37)
HSLhsl(60, 62%, 38%)
HSVhsv(60, 77%, 62%)
CMYKcmyk(0%, 0%, 76.7%, 37.6%)
CIE-LABlab(63.59, -14.26, 58.82)
CIE-LCHlch(63.59, 60.52, 103.62°)
OKLaboklab(68.12% -0.0457 0.1286)
OKLCHoklch(68.12% 0.137 109.5)
XYZxyz(27.0312, 32.3016, 6.5608)
Luminance0.3230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9F25 #25259F
analogous
#9F6225 #9F9F25 #629F25
triadic
#9F9F25 #259F9F #9F259F
tetradic
#9F9F25 #259F62 #25259F #9F2562
square
#9F9F25 #259F62 #25259F #9F2562
split-complementary
#9F9F25 #25629F #62259F
monochromatic
#3C3C0E #6D6D19 #9F9F25 #CFCF32 #DBDB64

Accessibility & contrast

On white

2.81
#9F9F25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#9F9F25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9F25
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9F25#FFFFFF#000000##000000
##9F9F251.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9805
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#AB9488
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9f9f25;
/* rgb */ color: rgb(159, 159, 37);
/* oklch */ color: oklch(68.1% 0.137 109.5);
Tailwind
colors: {
  custom: {
    50: '#bfbb6a',
    500: '#9f9f25',
    950: '#000000',
  },
}
SCSS
$custom: #9f9f25;
$custom-light: #bfbb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9f25",
  "rgb": {
    "r": 159,
    "g": 159,
    "b": 37
  },
  "hsl": {
    "h": 60,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68124,
    "c": 0.13651,
    "h": 109.5
  },
  "luminance": 0.32301
}

Semantic roles & 50–950 ramp

primary
#9F9F25
secondary
#5F5FC0
accent
#42E542
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9F25

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

Preview Lab → · Contrast checker → · Palette generator →

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