#9F8926#9F8926

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

Color values

HEX#9F8926
RGBrgb(159, 137, 38)
HSLhsl(49, 61%, 39%)
HSVhsv(49, 76%, 62%)
CMYKcmyk(0%, 13.8%, 76.1%, 37.6%)
CIE-LABlab(57.47, -2.42, 52.76)
CIE-LCHlch(57.47, 52.82, 92.63°)
OKLaboklab(63.26% -0.0123 0.116)
OKLCHoklch(63.26% 0.117 96)
XYZxyz(23.5948, 25.4035, 5.4939)
Luminance0.2540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8926 #263C9F
analogous
#9F4C26 #9F8926 #789F26
triadic
#9F8926 #269F89 #89269F
tetradic
#9F8926 #269F4C #263C9F #9F2678
square
#9F8926 #269F4C #263C9F #9F2678
split-complementary
#9F8926 #26789F #4C269F
monochromatic
#3C340E #6E5E1A #9F8926 #CEB234 #DAC565

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F8926#FFFFFF#000000##000000
##9F89261.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)
#988614
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#AC7E76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9f8926;
/* rgb */ color: rgb(159, 137, 38);
/* oklch */ color: oklch(63.3% 0.117 96.0);
Tailwind
colors: {
  custom: {
    50: '#bfab68',
    500: '#9f8926',
    950: '#000000',
  },
}
SCSS
$custom: #9f8926;
$custom-light: #bfab68;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8926",
  "rgb": {
    "r": 159,
    "g": 137,
    "b": 38
  },
  "hsl": {
    "h": 49.091,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63255,
    "c": 0.11661,
    "h": 96
  },
  "luminance": 0.25402
}

Semantic roles & 50–950 ramp

primary
#9F8926
secondary
#6172C0
accent
#61E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F8926

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

Preview Lab → · Contrast checker → · Palette generator →

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