#9E841F#9E841F

#9E841F is a light, moderate yellow. Relative luminance 0.239; OKLCH L 62.0% C 0.117 H 93.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9E841F
RGBrgb(158, 132, 31)
HSLhsl(48, 67%, 37%)
HSVhsv(48, 80%, 62%)
CMYKcmyk(0%, 16.5%, 80.4%, 38%)
CIE-LABlab(55.96, -0.41, 53.84)
CIE-LCHlch(55.96, 53.84, 90.43°)
OKLaboklab(62.03% -0.0072 0.1169)
OKLCHoklch(62.03% 0.117 93.5)
XYZxyz(22.6004, 23.8719, 4.7134)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E841F #1F399E
analogous
#9E451F #9E841F #789E1F
triadic
#9E841F #1F9E84 #841F9E
tetradic
#9E841F #1F9E45 #1F399E #9E1F78
square
#9E841F #1F9E45 #1F399E #9E1F78
split-complementary
#9E841F #1F789E #451F9E
monochromatic
#382F0B #6B5915 #9E841F #D1AF29 #DEC359

Accessibility & contrast

On white

3.64
#9E841F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#9E841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E841F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E841F#FFFFFF#000000##000000
##9E841F1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938207
Deuteranopia (green-blind)
#9A8926
Tritanopia (blue-blind)
#AB7971
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9e841f;
/* rgb */ color: rgb(158, 132, 31);
/* oklch */ color: oklch(62.0% 0.117 93.5);
Tailwind
colors: {
  custom: {
    50: '#bfa764',
    500: '#9e841f',
    950: '#000000',
  },
}
SCSS
$custom: #9e841f;
$custom-light: #bfa764;
$custom-dark: #000000;
JSON
{
  "hex": "#9e841f",
  "rgb": {
    "r": 158,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 47.717,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62027,
    "c": 0.11707,
    "h": 93.5
  },
  "luminance": 0.23871
}

Semantic roles & 50–950 ramp

primary
#9E841F
secondary
#566DC2
accent
#61EA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E841F

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

Preview Lab → · Contrast checker → · Palette generator →

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