#9B841E#9B841E

#9B841E is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.7% C 0.117 H 95.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9B841E
RGBrgb(155, 132, 30)
HSLhsl(49, 68%, 36%)
HSVhsv(49, 81%, 61%)
CMYKcmyk(0%, 14.8%, 80.6%, 39.2%)
CIE-LABlab(55.65, -1.82, 53.79)
CIE-LCHlch(55.65, 53.82, 91.94°)
OKLaboklab(61.71% -0.0111 0.1167)
OKLCHoklch(61.71% 0.117 95.5)
XYZxyz(22.0044, 23.5661, 4.6177)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B841E #1E359B
analogous
#9B461E #9B841E #749B1E
triadic
#9B841E #1E9B84 #841E9B
tetradic
#9B841E #1E9B46 #1E359B #9B1E74
square
#9B841E #1E9B46 #1E359B #9B1E74
split-complementary
#9B841E #1E749B #461E9B
monochromatic
#342D0A #685814 #9B841E #CEB028 #DEC555

Accessibility & contrast

On white

3.68
#9B841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#9B841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B841E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B841E#FFFFFF#000000##000000
##9B841E1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#A87971
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9b841e;
/* rgb */ color: rgb(155, 132, 30);
/* oklch */ color: oklch(61.7% 0.117 95.5);
Tailwind
colors: {
  custom: {
    50: '#bda763',
    500: '#9b841e',
    950: '#000000',
  },
}
SCSS
$custom: #9b841e;
$custom-light: #bda763;
$custom-dark: #000000;
JSON
{
  "hex": "#9b841e",
  "rgb": {
    "r": 155,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 48.96,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61711,
    "c": 0.1172,
    "h": 95.5
  },
  "luminance": 0.23565
}

Semantic roles & 50–950 ramp

primary
#9B841E
secondary
#5368C2
accent
#5DEA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9B841E

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

Preview Lab → · Contrast checker → · Palette generator →

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