#9D841E#9D841E

#9D841E is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.9% C 0.117 H 94.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9D841E
RGBrgb(157, 132, 30)
HSLhsl(48, 68%, 37%)
HSVhsv(48, 81%, 62%)
CMYKcmyk(0%, 15.9%, 80.9%, 38.4%)
CIE-LABlab(55.85, -0.90, 54.05)
CIE-LCHlch(55.85, 54.05, 90.96°)
OKLaboklab(61.92% -0.0086 0.1171)
OKLCHoklch(61.92% 0.117 94.2)
XYZxyz(22.3915, 23.7657, 4.6359)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D841E #1E379D
analogous
#9D451E #9D841E #779D1E
triadic
#9D841E #1E9D84 #841E9D
tetradic
#9D841E #1E9D45 #1E379D #9D1E77
square
#9D841E #1E9D45 #1E379D #9D1E77
split-complementary
#9D841E #1E779D #451E9D
monochromatic
#362E0A #6A5914 #9D841E #D0AF28 #DFC457

Accessibility & contrast

On white

3.65
#9D841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#9D841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D841E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D841E#FFFFFF#000000##000000
##9D841E1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#AA7971
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9d841e;
/* rgb */ color: rgb(157, 132, 30);
/* oklch */ color: oklch(61.9% 0.117 94.2);
Tailwind
colors: {
  custom: {
    50: '#bea763',
    500: '#9d841e',
    950: '#000000',
  },
}
SCSS
$custom: #9d841e;
$custom-light: #bea763;
$custom-dark: #000000;
JSON
{
  "hex": "#9d841e",
  "rgb": {
    "r": 157,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 48.189,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61918,
    "c": 0.11744,
    "h": 94.2
  },
  "luminance": 0.23764
}

Semantic roles & 50–950 ramp

primary
#9D841E
secondary
#546AC2
accent
#5FEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D841E

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

Preview Lab → · Contrast checker → · Palette generator →

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