#9F8626#9F8626

#9F8626 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.6% C 0.115 H 93.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9F8626
RGBrgb(159, 134, 38)
HSLhsl(48, 61%, 39%)
HSVhsv(48, 76%, 62%)
CMYKcmyk(0%, 15.7%, 76.1%, 37.6%)
CIE-LABlab(56.65, -0.77, 51.98)
CIE-LCHlch(56.65, 51.99, 90.85°)
OKLaboklab(62.61% -0.0075 0.1143)
OKLCHoklch(62.61% 0.115 93.8)
XYZxyz(23.1743, 24.5624, 5.3537)
Luminance0.2456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8626 #263F9F
analogous
#9F4926 #9F8626 #7B9F26
triadic
#9F8626 #269F86 #86269F
tetradic
#9F8626 #269F49 #263F9F #9F267B
square
#9F8626 #269F49 #263F9F #9F267B
split-complementary
#9F8626 #267B9F #49269F
monochromatic
#3C330E #6E5C1A #9F8626 #CEAE34 #DAC265

Accessibility & contrast

On white

3.55
#9F8626 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#9F8626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8626
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8626#FFFFFF#000000##000000
##9F86261.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958415
Deuteranopia (green-blind)
#9B8B2C
Tritanopia (blue-blind)
#AC7B73
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9f8626;
/* rgb */ color: rgb(159, 134, 38);
/* oklch */ color: oklch(62.6% 0.115 93.8);
Tailwind
colors: {
  custom: {
    50: '#bfa868',
    500: '#9f8626',
    950: '#000000',
  },
}
SCSS
$custom: #9f8626;
$custom-light: #bfa868;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8626",
  "rgb": {
    "r": 159,
    "g": 134,
    "b": 38
  },
  "hsl": {
    "h": 47.603,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62607,
    "c": 0.11455,
    "h": 93.8
  },
  "luminance": 0.24561
}

Semantic roles & 50–950 ramp

primary
#9F8626
secondary
#6174C0
accent
#65E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F8626

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

Preview Lab → · Contrast checker → · Palette generator →

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