#9F851C#9F851C

#9F851C is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.119 H 93.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9F851C
RGBrgb(159, 133, 28)
HSLhsl(48, 70%, 37%)
HSVhsv(48, 82%, 62%)
CMYKcmyk(0%, 16.4%, 82.4%, 37.6%)
CIE-LABlab(56.32, -0.61, 55.18)
CIE-LCHlch(56.32, 55.19, 90.63°)
OKLaboklab(62.33% -0.0081 0.119)
OKLCHoklch(62.33% 0.119 93.9)
XYZxyz(22.8965, 24.2312, 4.5695)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F851C #1C369F
analogous
#9F441C #9F851C #789F1C
triadic
#9F851C #1C9F85 #851C9F
tetradic
#9F851C #1C9F44 #1C369F #9F1C78
square
#9F851C #1C9F44 #1C369F #9F1C78
split-complementary
#9F851C #1C789F #441C9F
monochromatic
#372E0A #6B5913 #9F851C #D3B125 #E1C554

Accessibility & contrast

On white

3.59
#9F851C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#9F851C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F851C
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F851C#FFFFFF#000000##000000
##9F851C1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#9B8A24
Tritanopia (blue-blind)
#AD7972
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9f851c;
/* rgb */ color: rgb(159, 133, 28);
/* oklch */ color: oklch(62.3% 0.119 93.9);
Tailwind
colors: {
  custom: {
    50: '#c0a863',
    500: '#9f851c',
    950: '#000000',
  },
}
SCSS
$custom: #9f851c;
$custom-light: #c0a863;
$custom-dark: #000000;
JSON
{
  "hex": "#9f851c",
  "rgb": {
    "r": 159,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 48.092,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6233,
    "c": 0.11931,
    "h": 93.9
  },
  "luminance": 0.2423
}

Semantic roles & 50–950 ramp

primary
#9F851C
secondary
#5369C4
accent
#5EED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F851C

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

Preview Lab → · Contrast checker → · Palette generator →

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