#9F8B25#9F8B25

#9F8B25 is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.7% C 0.119 H 97.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9F8B25
RGBrgb(159, 139, 37)
HSLhsl(50, 62%, 38%)
HSVhsv(50, 77%, 62%)
CMYKcmyk(0%, 12.6%, 76.7%, 37.6%)
CIE-LABlab(58.01, -3.57, 53.65)
CIE-LCHlch(58.01, 53.76, 93.80°)
OKLaboklab(63.68% -0.0156 0.1176)
OKLCHoklch(63.68% 0.119 97.6)
XYZxyz(23.8658, 25.9710, 5.5057)
Luminance0.2597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8B25 #25399F
analogous
#9F4E25 #9F8B25 #769F25
triadic
#9F8B25 #259F8B #8B259F
tetradic
#9F8B25 #259F4E #25399F #9F2576
square
#9F8B25 #259F4E #25399F #9F2576
split-complementary
#9F8B25 #25769F #4E259F
monochromatic
#3C340E #6D6019 #9F8B25 #CFB532 #DBC764

Accessibility & contrast

On white

3.39
#9F8B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#9F8B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8B25
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8B25#FFFFFF#000000##000000
##9F8B251.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998811
Deuteranopia (green-blind)
#9F8E2C
Tritanopia (blue-blind)
#AC8077
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9f8b25;
/* rgb */ color: rgb(159, 139, 37);
/* oklch */ color: oklch(63.7% 0.119 97.6);
Tailwind
colors: {
  custom: {
    50: '#bfac68',
    500: '#9f8b25',
    950: '#000000',
  },
}
SCSS
$custom: #9f8b25;
$custom-light: #bfac68;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8b25",
  "rgb": {
    "r": 159,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 50.164,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63683,
    "c": 0.11867,
    "h": 97.6
  },
  "luminance": 0.2597
}

Semantic roles & 50–950 ramp

primary
#9F8B25
secondary
#5F6FC0
accent
#5DE542
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F8B25

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

Preview Lab → · Contrast checker → · Palette generator →

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