#9F9126#9F9126

#9F9126 is a light, vivid yellow. Relative luminance 0.278; OKLCH L 65.0% C 0.123 H 101.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9F9126
RGBrgb(159, 145, 38)
HSLhsl(53, 61%, 39%)
HSVhsv(53, 76%, 62%)
CMYKcmyk(0%, 8.8%, 76.1%, 37.6%)
CIE-LABlab(59.67, -6.79, 54.85)
CIE-LCHlch(59.67, 55.26, 97.05°)
OKLaboklab(65.01% -0.0246 0.1204)
OKLCHoklch(65.01% 0.123 101.6)
XYZxyz(24.7745, 27.7628, 5.8871)
Luminance0.2776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9126 #26349F
analogous
#9F5426 #9F9126 #709F26
triadic
#9F9126 #269F91 #91269F
tetradic
#9F9126 #269F54 #26349F #9F2670
square
#9F9126 #269F54 #26349F #9F2670
split-complementary
#9F9126 #26709F #54269F
monochromatic
#3C370E #6E641A #9F9126 #CEBD34 #DACD65

Accessibility & contrast

On white

3.20
#9F9126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#9F9126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9126
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9126#FFFFFF#000000##000000
##9F91261.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C11
Deuteranopia (green-blind)
#A3922E
Tritanopia (blue-blind)
#AC867C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9f9126;
/* rgb */ color: rgb(159, 145, 38);
/* oklch */ color: oklch(65.0% 0.123 101.6);
Tailwind
colors: {
  custom: {
    50: '#bfb069',
    500: '#9f9126',
    950: '#000000',
  },
}
SCSS
$custom: #9f9126;
$custom-light: #bfb069;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9126",
  "rgb": {
    "r": 159,
    "g": 145,
    "b": 38
  },
  "hsl": {
    "h": 53.058,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65005,
    "c": 0.12288,
    "h": 101.6
  },
  "luminance": 0.27762
}

Semantic roles & 50–950 ramp

primary
#9F9126
secondary
#616CC0
accent
#56E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9126

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

Preview Lab → · Contrast checker → · Palette generator →

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