#9A851E#9A851E

#9A851E is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.8% C 0.118 H 96.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9A851E
RGBrgb(154, 133, 30)
HSLhsl(50, 67%, 36%)
HSVhsv(50, 81%, 60%)
CMYKcmyk(0%, 13.6%, 80.5%, 39.6%)
CIE-LABlab(55.83, -2.84, 53.91)
CIE-LCHlch(55.83, 53.98, 93.01°)
OKLaboklab(61.83% -0.014 0.117)
OKLCHoklch(61.83% 0.118 96.8)
XYZxyz(21.9495, 23.7400, 4.6542)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A851E #1E339A
analogous
#9A471E #9A851E #719A1E
triadic
#9A851E #1E9A85 #851E9A
tetradic
#9A851E #1E9A47 #1E339A #9A1E71
square
#9A851E #1E9A47 #1E339A #9A1E71
split-complementary
#9A851E #1E719A #471E9A
monochromatic
#342D0A #675914 #9A851E #CDB128 #DEC755

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A851E#FFFFFF#000000##000000
##9A851E1.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)
#938204
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#A77A72
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9a851e;
/* rgb */ color: rgb(154, 133, 30);
/* oklch */ color: oklch(61.8% 0.118 96.8);
Tailwind
colors: {
  custom: {
    50: '#bca864',
    500: '#9a851e',
    950: '#000000',
  },
}
SCSS
$custom: #9a851e;
$custom-light: #bca864;
$custom-dark: #000000;
JSON
{
  "hex": "#9a851e",
  "rgb": {
    "r": 154,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 49.839,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61827,
    "c": 0.11781,
    "h": 96.8
  },
  "luminance": 0.23739
}

Semantic roles & 50–950 ramp

primary
#9A851E
secondary
#5365C1
accent
#5BEA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A851E

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

Preview Lab → · Contrast checker → · Palette generator →

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