#9A862E#9A862E

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

Color values

HEX#9A862E
RGBrgb(154, 134, 46)
HSLhsl(49, 54%, 39%)
HSVhsv(49, 70%, 60%)
CMYKcmyk(0%, 13%, 70.1%, 39.6%)
CIE-LABlab(56.21, -2.64, 48.12)
CIE-LCHlch(56.21, 48.19, 93.14°)
OKLaboklab(62.16% -0.0117 0.1079)
OKLCHoklch(62.16% 0.109 96.2)
XYZxyz(22.3457, 24.1186, 6.0626)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A862E #2E429A
analogous
#9A502E #9A862E #789A2E
triadic
#9A862E #2E9A86 #862E9A
tetradic
#9A862E #2E9A50 #2E429A #9A2E78
square
#9A862E #2E9A50 #2E429A #9A2E78
split-complementary
#9A862E #2E789A #502E9A
monochromatic
#3C3412 #6B5D20 #9A862E #C6AD3F #D4C16F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A862E#FFFFFF#000000##000000
##9A862E1.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)
#948322
Deuteranopia (green-blind)
#998933
Tritanopia (blue-blind)
#A67C74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9a862e;
/* rgb */ color: rgb(154, 134, 46);
/* oklch */ color: oklch(62.2% 0.109 96.2);
Tailwind
colors: {
  custom: {
    50: '#bba86c',
    500: '#9a862e',
    950: '#000000',
  },
}
SCSS
$custom: #9a862e;
$custom-light: #bba86c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a862e",
  "rgb": {
    "r": 154,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 48.889,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62161,
    "c": 0.10851,
    "h": 96.2
  },
  "luminance": 0.24117
}

Semantic roles & 50–950 ramp

primary
#9A862E
secondary
#6978BB
accent
#66DD4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9A862E

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

Preview Lab → · Contrast checker → · Palette generator →

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