#9F8925#9F8925

#9F8925 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.117 H 96.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9F8925
RGBrgb(159, 137, 37)
HSLhsl(49, 62%, 38%)
HSVhsv(49, 77%, 62%)
CMYKcmyk(0%, 13.8%, 76.7%, 37.6%)
CIE-LABlab(57.46, -2.47, 53.13)
CIE-LCHlch(57.46, 53.19, 92.66°)
OKLaboklab(63.25% -0.0125 0.1165)
OKLCHoklch(63.25% 0.117 96.1)
XYZxyz(23.5789, 25.3971, 5.4101)
Luminance0.2540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8925 #253B9F
analogous
#9F4C25 #9F8925 #789F25
triadic
#9F8925 #259F89 #89259F
tetradic
#9F8925 #259F4C #253B9F #9F2578
square
#9F8925 #259F4C #253B9F #9F2578
split-complementary
#9F8925 #25789F #4C259F
monochromatic
#3C330E #6D5E19 #9F8925 #CFB332 #DBC564

Accessibility & contrast

On white

3.45
#9F8925 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9F8925 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8925
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8925#FFFFFF#000000##000000
##9F89251.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988612
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#AC7E76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9f8925;
/* rgb */ color: rgb(159, 137, 37);
/* oklch */ color: oklch(63.2% 0.117 96.1);
Tailwind
colors: {
  custom: {
    50: '#bfab67',
    500: '#9f8925',
    950: '#000000',
  },
}
SCSS
$custom: #9f8925;
$custom-light: #bfab67;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8925",
  "rgb": {
    "r": 159,
    "g": 137,
    "b": 37
  },
  "hsl": {
    "h": 49.18,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63248,
    "c": 0.11721,
    "h": 96.1
  },
  "luminance": 0.25396
}

Semantic roles & 50–950 ramp

primary
#9F8925
secondary
#5F71C0
accent
#60E542
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F8925

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

Preview Lab → · Contrast checker → · Palette generator →

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