#9F842E#9F842E

#9F842E is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.2% C 0.108 H 91.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9F842E
RGBrgb(159, 132, 46)
HSLhsl(46, 55%, 40%)
HSVhsv(46, 71%, 62%)
CMYKcmyk(0%, 17%, 71.1%, 37.6%)
CIE-LABlab(56.16, 0.74, 48.23)
CIE-LCHlch(56.16, 48.24, 89.12°)
OKLaboklab(62.24% -0.0023 0.1079)
OKLCHoklch(62.24% 0.108 91.2)
XYZxyz(23.0437, 24.0721, 6.0169)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F842E #2E499F
analogous
#9F4C2E #9F842E #819F2E
triadic
#9F842E #2E9F84 #842E9F
tetradic
#9F842E #2E9F4C #2E499F #9F2E81
square
#9F842E #2E9F4C #2E499F #9F2E81
split-complementary
#9F842E #2E819F #4C2E9F
monochromatic
#403513 #705D20 #9F842E #C8A842 #D6BE71

Accessibility & contrast

On white

3.61
#9F842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#9F842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F842E
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F842E#FFFFFF#000000##000000
##9F842E1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938222
Deuteranopia (green-blind)
#998A32
Tritanopia (blue-blind)
#AC7972
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9f842e;
/* rgb */ color: rgb(159, 132, 46);
/* oklch */ color: oklch(62.2% 0.108 91.2);
Tailwind
colors: {
  custom: {
    50: '#bfa76c',
    500: '#9f842e',
    950: '#000000',
  },
}
SCSS
$custom: #9f842e;
$custom-light: #bfa76c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f842e",
  "rgb": {
    "r": 159,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 45.664,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62241,
    "c": 0.10795,
    "h": 91.2
  },
  "luminance": 0.24071
}

Semantic roles & 50–950 ramp

primary
#9F842E
secondary
#6B7FBE
accent
#6DDE49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9F842E

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

Preview Lab → · Contrast checker → · Palette generator →

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