#9F8620#9F8620

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

Color values

HEX#9F8620
RGBrgb(159, 134, 32)
HSLhsl(48, 66%, 37%)
HSVhsv(48, 80%, 62%)
CMYKcmyk(0%, 15.7%, 79.9%, 37.6%)
CIE-LABlab(56.61, -1.02, 54.13)
CIE-LCHlch(56.61, 54.14, 91.08°)
OKLaboklab(62.57% -0.0089 0.1176)
OKLCHoklch(62.57% 0.118 94.3)
XYZxyz(23.0852, 24.5268, 4.8844)
Luminance0.2452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8620 #20399F
analogous
#9F4720 #9F8620 #789F20
triadic
#9F8620 #209F86 #86209F
tetradic
#9F8620 #209F47 #20399F #9F2078
square
#9F8620 #209F47 #20399F #9F2078
split-complementary
#9F8620 #20789F #47209F
monochromatic
#39300B #6C5B16 #9F8620 #D2B12A #DEC45B

Accessibility & contrast

On white

3.56
#9F8620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F8620#FFFFFF#000000##000000
##9F86201.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f8620;
/* rgb */ color: rgb(159, 134, 32);
/* oklch */ color: oklch(62.6% 0.118 94.3);
Tailwind
colors: {
  custom: {
    50: '#bfa865',
    500: '#9f8620',
    950: '#000000',
  },
}
SCSS
$custom: #9f8620;
$custom-light: #bfa865;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8620",
  "rgb": {
    "r": 159,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 48.189,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62568,
    "c": 0.11795,
    "h": 94.3
  },
  "luminance": 0.24525
}

Semantic roles & 50–950 ramp

primary
#9F8620
secondary
#596DC2
accent
#60E93E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F8620

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

Preview Lab → · Contrast checker → · Palette generator →

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