#9F8622#9F8622

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

Color values

HEX#9F8622
RGBrgb(159, 134, 34)
HSLhsl(48, 65%, 38%)
HSVhsv(48, 79%, 62%)
CMYKcmyk(0%, 15.7%, 78.6%, 37.6%)
CIE-LABlab(56.62, -0.94, 53.44)
CIE-LCHlch(56.62, 53.45, 91.01°)
OKLaboklab(62.58% -0.0084 0.1166)
OKLCHoklch(62.58% 0.117 94.1)
XYZxyz(23.1132, 24.5380, 5.0320)
Luminance0.2454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8622 #223B9F
analogous
#9F4722 #9F8622 #799F22
triadic
#9F8622 #229F86 #86229F
tetradic
#9F8622 #229F47 #223B9F #9F2279
square
#9F8622 #229F47 #223B9F #9F2279
split-complementary
#9F8622 #22799F #47229F
monochromatic
#3A310C #6D5C17 #9F8622 #D1B02D #DDC45F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F8622#FFFFFF#000000##000000
##9F86221.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)
#95830D
Deuteranopia (green-blind)
#9B8B28
Tritanopia (blue-blind)
#AC7B73
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9f8622;
/* rgb */ color: rgb(159, 134, 34);
/* oklch */ color: oklch(62.6% 0.117 94.1);
Tailwind
colors: {
  custom: {
    50: '#bfa866',
    500: '#9f8622',
    950: '#000000',
  },
}
SCSS
$custom: #9f8622;
$custom-light: #bfa866;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8622",
  "rgb": {
    "r": 159,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 48,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6258,
    "c": 0.11688,
    "h": 94.1
  },
  "luminance": 0.24537
}

Semantic roles & 50–950 ramp

primary
#9F8622
secondary
#5B70C1
accent
#62E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F8622

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

Preview Lab → · Contrast checker → · Palette generator →

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