#9F9E25#9F9E25

#9F9E25 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 67.9% C 0.136 H 109.0°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9F9E25
RGBrgb(159, 158, 37)
HSLhsl(60, 62%, 38%)
HSVhsv(60, 77%, 62%)
CMYKcmyk(0%, 0.6%, 76.7%, 37.6%)
CIE-LABlab(63.31, -13.73, 58.56)
CIE-LCHlch(63.31, 60.15, 103.20°)
OKLaboklab(67.9% -0.0442 0.1281)
OKLCHoklch(67.9% 0.136 109)
XYZxyz(26.8599, 31.9591, 6.5037)
Luminance0.3196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9E25 #25269F
analogous
#9F6125 #9F9E25 #639F25
triadic
#9F9E25 #259F9E #9E259F
tetradic
#9F9E25 #259F61 #25269F #9F2563
square
#9F9E25 #259F61 #25269F #9F2563
split-complementary
#9F9E25 #25639F #61259F
monochromatic
#3C3B0E #6D6D19 #9F9E25 #CFCE32 #DBDA64

Accessibility & contrast

On white

2.84
#9F9E25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#9F9E25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9E25
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9E25#FFFFFF#000000##000000
##9F9E251.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9705
Deuteranopia (green-blind)
#AD9B2F
Tritanopia (blue-blind)
#AB9387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9f9e25;
/* rgb */ color: rgb(159, 158, 37);
/* oklch */ color: oklch(67.9% 0.136 109.0);
Tailwind
colors: {
  custom: {
    50: '#bfba6a',
    500: '#9f9e25',
    950: '#000000',
  },
}
SCSS
$custom: #9f9e25;
$custom-light: #bfba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9e25",
  "rgb": {
    "r": 159,
    "g": 158,
    "b": 37
  },
  "hsl": {
    "h": 59.508,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.67899,
    "c": 0.13551,
    "h": 109
  },
  "luminance": 0.31958
}

Semantic roles & 50–950 ramp

primary
#9F9E25
secondary
#5F60C0
accent
#44E542
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9E25

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

Preview Lab → · Contrast checker → · Palette generator →

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