#9F841C#9F841C

#9F841C is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.119 H 93.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9F841C
RGBrgb(159, 132, 28)
HSLhsl(48, 70%, 37%)
HSVhsv(48, 82%, 62%)
CMYKcmyk(0%, 17%, 82.4%, 37.6%)
CIE-LABlab(56.05, -0.05, 54.95)
CIE-LCHlch(56.05, 54.95, 90.06°)
OKLaboklab(62.11% -0.0065 0.1185)
OKLCHoklch(62.11% 0.119 93.1)
XYZxyz(22.7603, 23.9587, 4.5241)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F841C #1C379F
analogous
#9F431C #9F841C #799F1C
triadic
#9F841C #1C9F84 #841C9F
tetradic
#9F841C #1C9F43 #1C379F #9F1C79
square
#9F841C #1C9F43 #1C379F #9F1C79
split-complementary
#9F841C #1C799F #431C9F
monochromatic
#372E0A #6B5913 #9F841C #D3AF25 #E1C454

Accessibility & contrast

On white

3.63
#9F841C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#9F841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F841C
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F841C#FFFFFF#000000##000000
##9F841C1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#9A8A23
Tritanopia (blue-blind)
#AD7871
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9f841c;
/* rgb */ color: rgb(159, 132, 28);
/* oklch */ color: oklch(62.1% 0.119 93.1);
Tailwind
colors: {
  custom: {
    50: '#c0a763',
    500: '#9f841c',
    950: '#000000',
  },
}
SCSS
$custom: #9f841c;
$custom-light: #c0a763;
$custom-dark: #000000;
JSON
{
  "hex": "#9f841c",
  "rgb": {
    "r": 159,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 47.634,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62115,
    "c": 0.11871,
    "h": 93.1
  },
  "luminance": 0.23957
}

Semantic roles & 50–950 ramp

primary
#9F841C
secondary
#536AC4
accent
#60ED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F841C

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

Preview Lab → · Contrast checker → · Palette generator →

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