#847226#847226

#847226 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.4% C 0.097 H 95.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#847226
RGBrgb(132, 114, 38)
HSLhsl(49, 55%, 33%)
HSVhsv(49, 71%, 52%)
CMYKcmyk(0%, 13.6%, 71.2%, 48.2%)
CIE-LABlab(48.36, -2.01, 42.89)
CIE-LCHlch(48.36, 42.94, 92.69°)
OKLaboklab(55.42% -0.0094 0.0962)
OKLCHoklch(55.42% 0.097 95.6)
XYZxyz(15.8837, 17.0809, 4.2937)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847226 #263884
analogous
#844326 #847226 #678426
triadic
#847226 #268472 #722684
tetradic
#847226 #268443 #263884 #842667
square
#847226 #268443 #263884 #842667
split-complementary
#847226 #266784 #432684
monochromatic
#25200B #544918 #847226 #B49B34 #CEB756

Accessibility & contrast

On white

4.76
#847226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#847226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #847226
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847226#FFFFFF#000000##FFFFFF
##8472261.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701C
Deuteranopia (green-blind)
#83752A
Tritanopia (blue-blind)
#8F6962
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #847226;
/* rgb */ color: rgb(132, 114, 38);
/* oklch */ color: oklch(55.4% 0.097 95.6);
Tailwind
colors: {
  custom: {
    50: '#ab9a65',
    500: '#847226',
    950: '#000000',
  },
}
SCSS
$custom: #847226;
$custom-light: #ab9a65;
$custom-dark: #000000;
JSON
{
  "hex": "#847226",
  "rgb": {
    "r": 132,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 48.511,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55419,
    "c": 0.09661,
    "h": 95.6
  },
  "luminance": 0.1708
}

Semantic roles & 50–950 ramp

primary
#847226
secondary
#5365B3
accent
#66DF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #847226

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

Preview Lab → · Contrast checker → · Palette generator →

#847226 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva