#9F801C#9F801C

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

Color values

HEX#9F801C
RGBrgb(159, 128, 28)
HSLhsl(46, 70%, 37%)
HSVhsv(46, 82%, 62%)
CMYKcmyk(0%, 19.5%, 82.4%, 37.6%)
CIE-LABlab(54.96, 2.18, 54.00)
CIE-LCHlch(54.96, 54.04, 87.69°)
OKLaboklab(61.26% -0.0002 0.1165)
OKLCHoklch(61.26% 0.116 90.1)
XYZxyz(22.2282, 22.8946, 4.3467)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F801C #1C3B9F
analogous
#9F3F1C #9F801C #7C9F1C
triadic
#9F801C #1C9F80 #801C9F
tetradic
#9F801C #1C9F3F #1C3B9F #9F1C7C
square
#9F801C #1C9F3F #1C3B9F #9F1C7C
split-complementary
#9F801C #1C7C9F #3F1C9F
monochromatic
#372C0A #6B5613 #9F801C #D3AA25 #E1C054

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F801C#FFFFFF#000000##000000
##9F801C1.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)
#907F02
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#AD746D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9f801c;
/* rgb */ color: rgb(159, 128, 28);
/* oklch */ color: oklch(61.3% 0.116 90.1);
Tailwind
colors: {
  custom: {
    50: '#c0a462',
    500: '#9f801c',
    950: '#000000',
  },
}
SCSS
$custom: #9f801c;
$custom-light: #c0a462;
$custom-dark: #000000;
JSON
{
  "hex": "#9f801c",
  "rgb": {
    "r": 159,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 45.802,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61261,
    "c": 0.11647,
    "h": 90.1
  },
  "luminance": 0.22893
}

Semantic roles & 50–950 ramp

primary
#9F801C
secondary
#536EC4
accent
#65ED3B
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F801C

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

Preview Lab → · Contrast checker → · Palette generator →

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