#9F801E#9F801E

#9F801E is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.3% C 0.115 H 89.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9F801E
RGBrgb(159, 128, 30)
HSLhsl(46, 68%, 37%)
HSVhsv(46, 81%, 62%)
CMYKcmyk(0%, 19.5%, 81.1%, 37.6%)
CIE-LABlab(54.97, 2.25, 53.34)
CIE-LCHlch(54.97, 53.39, 87.59°)
OKLaboklab(61.27% 0.0002 0.1155)
OKLCHoklch(61.27% 0.115 89.9)
XYZxyz(22.2529, 22.9045, 4.4770)
Luminance0.2290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F801E #1E3D9F
analogous
#9F3F1E #9F801E #7E9F1E
triadic
#9F801E #1E9F80 #801E9F
tetradic
#9F801E #1E9F3F #1E3D9F #9F1E7E
square
#9F801E #1E9F3F #1E3D9F #9F1E7E
split-complementary
#9F801E #1E7E9F #3F1E9F
monochromatic
#382D0B #6C5714 #9F801E #D2A928 #DFBF58

Accessibility & contrast

On white

3.76
#9F801E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#9F801E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F801E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F801E#FFFFFF#000000##000000
##9F801E1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#AD746E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9f801e;
/* rgb */ color: rgb(159, 128, 30);
/* oklch */ color: oklch(61.3% 0.115 89.9);
Tailwind
colors: {
  custom: {
    50: '#c0a463',
    500: '#9f801e',
    950: '#000000',
  },
}
SCSS
$custom: #9f801e;
$custom-light: #c0a463;
$custom-dark: #000000;
JSON
{
  "hex": "#9f801e",
  "rgb": {
    "r": 159,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 45.581,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61272,
    "c": 0.11549,
    "h": 89.9
  },
  "luminance": 0.22903
}

Semantic roles & 50–950 ramp

primary
#9F801E
secondary
#5670C3
accent
#67EB3D
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F801E

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

Preview Lab → · Contrast checker → · Palette generator →

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