#9F8627#9F8627

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

Color values

HEX#9F8627
RGBrgb(159, 134, 39)
HSLhsl(48, 61%, 39%)
HSVhsv(48, 75%, 62%)
CMYKcmyk(0%, 15.7%, 75.5%, 37.6%)
CIE-LABlab(56.65, -0.72, 51.60)
CIE-LCHlch(56.65, 51.61, 90.80°)
OKLaboklab(62.61% -0.0073 0.1137)
OKLCHoklch(62.61% 0.114 93.7)
XYZxyz(23.1906, 24.5689, 5.4399)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8627 #27409F
analogous
#9F4A27 #9F8627 #7C9F27
triadic
#9F8627 #279F86 #86279F
tetradic
#9F8627 #279F4A #27409F #9F277C
square
#9F8627 #279F4A #27409F #9F277C
split-complementary
#9F8627 #277C9F #4A279F
monochromatic
#3D330F #6E5D1B #9F8627 #CEAE36 #DAC267

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F8627#FFFFFF#000000##000000
##9F86271.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)
#958417
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#AC7B73
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9f8627;
/* rgb */ color: rgb(159, 134, 39);
/* oklch */ color: oklch(62.6% 0.114 93.7);
Tailwind
colors: {
  custom: {
    50: '#bfa868',
    500: '#9f8627',
    950: '#000000',
  },
}
SCSS
$custom: #9f8627;
$custom-light: #bfa868;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8627",
  "rgb": {
    "r": 159,
    "g": 134,
    "b": 39
  },
  "hsl": {
    "h": 47.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62614,
    "c": 0.11393,
    "h": 93.7
  },
  "luminance": 0.24568
}

Semantic roles & 50–950 ramp

primary
#9F8627
secondary
#6276C0
accent
#65E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F8627

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

Preview Lab → · Contrast checker → · Palette generator →

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