#9F841E#9F841E

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

Color values

HEX#9F841E
RGBrgb(159, 132, 30)
HSLhsl(47, 68%, 37%)
HSVhsv(47, 81%, 62%)
CMYKcmyk(0%, 17%, 81.1%, 37.6%)
CIE-LABlab(56.06, 0.02, 54.31)
CIE-LCHlch(56.06, 54.31, 89.98°)
OKLaboklab(62.13% -0.0061 0.1176)
OKLCHoklch(62.13% 0.118 93)
XYZxyz(22.7850, 23.9686, 4.6543)
Luminance0.2397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F841E #1E399F
analogous
#9F441E #9F841E #7A9F1E
triadic
#9F841E #1E9F84 #841E9F
tetradic
#9F841E #1E9F44 #1E399F #9F1E7A
square
#9F841E #1E9F44 #1E399F #9F1E7A
split-complementary
#9F841E #1E7A9F #441E9F
monochromatic
#382F0B #6C5914 #9F841E #D2AF28 #DFC358

Accessibility & contrast

On white

3.62
#9F841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F841E#FFFFFF#000000##000000
##9F841E1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f841e;
/* rgb */ color: rgb(159, 132, 30);
/* oklch */ color: oklch(62.1% 0.118 93.0);
Tailwind
colors: {
  custom: {
    50: '#c0a764',
    500: '#9f841e',
    950: '#000000',
  },
}
SCSS
$custom: #9f841e;
$custom-light: #c0a764;
$custom-dark: #000000;
JSON
{
  "hex": "#9f841e",
  "rgb": {
    "r": 159,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 47.442,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62126,
    "c": 0.11773,
    "h": 93
  },
  "luminance": 0.23967
}

Semantic roles & 50–950 ramp

primary
#9F841E
secondary
#566DC3
accent
#61EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F841E

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

Preview Lab → · Contrast checker → · Palette generator →

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