#9A862D#9A862D

#9A862D is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.2% C 0.109 H 96.3°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9A862D
RGBrgb(154, 134, 45)
HSLhsl(49, 55%, 39%)
HSVhsv(49, 71%, 60%)
CMYKcmyk(0%, 13%, 70.8%, 39.6%)
CIE-LABlab(56.20, -2.70, 48.54)
CIE-LCHlch(56.20, 48.62, 93.18°)
OKLaboklab(62.15% -0.0119 0.1086)
OKLCHoklch(62.15% 0.109 96.3)
XYZxyz(22.3263, 24.1108, 5.9600)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A862D #2D419A
analogous
#9A502D #9A862D #789A2D
triadic
#9A862D #2D9A86 #862D9A
tetradic
#9A862D #2D9A50 #2D419A #9A2D78
square
#9A862D #2D9A50 #2D419A #9A2D78
split-complementary
#9A862D #2D789A #502D9A
monochromatic
#3B3411 #6B5D1F #9A862D #C7AD3E #D4C16D

Accessibility & contrast

On white

3.61
#9A862D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#9A862D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A862D
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A862D#FFFFFF#000000##000000
##9A862D1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948321
Deuteranopia (green-blind)
#998932
Tritanopia (blue-blind)
#A67C74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9a862d;
/* rgb */ color: rgb(154, 134, 45);
/* oklch */ color: oklch(62.2% 0.109 96.3);
Tailwind
colors: {
  custom: {
    50: '#bba86b',
    500: '#9a862d',
    950: '#000000',
  },
}
SCSS
$custom: #9a862d;
$custom-light: #bba86b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a862d",
  "rgb": {
    "r": 154,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 48.991,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62152,
    "c": 0.10923,
    "h": 96.3
  },
  "luminance": 0.2411
}

Semantic roles & 50–950 ramp

primary
#9A862D
secondary
#6777BB
accent
#65DE4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9A862D

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

Preview Lab → · Contrast checker → · Palette generator →

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