#9D851E#9D851E

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

Color values

HEX#9D851E
RGBrgb(157, 133, 30)
HSLhsl(49, 68%, 37%)
HSVhsv(49, 81%, 62%)
CMYKcmyk(0%, 15.3%, 80.9%, 38.4%)
CIE-LABlab(56.13, -1.46, 54.29)
CIE-LCHlch(56.13, 54.31, 91.54°)
OKLaboklab(62.13% -0.0102 0.1177)
OKLCHoklch(62.13% 0.118 95)
XYZxyz(22.5278, 24.0382, 4.6813)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D851E #1E369D
analogous
#9D451E #9D851E #769D1E
triadic
#9D851E #1E9D85 #851E9D
tetradic
#9D851E #1E9D45 #1E369D #9D1E76
square
#9D851E #1E9D45 #1E369D #9D1E76
split-complementary
#9D851E #1E769D #451E9D
monochromatic
#362E0A #6A5914 #9D851E #D0B128 #DFC557

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D851E#FFFFFF#000000##000000
##9D851E1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948204
Deuteranopia (green-blind)
#9A8A25
Tritanopia (blue-blind)
#AA7A72
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d851e;
/* rgb */ color: rgb(157, 133, 30);
/* oklch */ color: oklch(62.1% 0.118 95.0);
Tailwind
colors: {
  custom: {
    50: '#bea864',
    500: '#9d851e',
    950: '#000000',
  },
}
SCSS
$custom: #9d851e;
$custom-light: #bea864;
$custom-dark: #000000;
JSON
{
  "hex": "#9d851e",
  "rgb": {
    "r": 157,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 48.661,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62134,
    "c": 0.11809,
    "h": 95
  },
  "luminance": 0.24037
}

Semantic roles & 50–950 ramp

primary
#9D851E
secondary
#5469C2
accent
#5EEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D851E

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

Preview Lab → · Contrast checker → · Palette generator →

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