#848840#848840

#848840 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.7% C 0.096 H 111.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#848840
RGBrgb(132, 136, 64)
HSLhsl(63, 36%, 39%)
HSVhsv(63, 53%, 53%)
CMYKcmyk(2.9%, 0%, 52.9%, 46.7%)
CIE-LABlab(54.95, -12.22, 37.69)
CIE-LCHlch(54.95, 39.63, 107.97°)
OKLaboklab(60.74% -0.0354 0.0887)
OKLCHoklch(60.74% 0.096 111.8)
XYZxyz(19.2457, 22.8844, 8.2528)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848840 #444088
analogous
#886840 #848840 #608840
triadic
#848840 #408488 #884084
tetradic
#848840 #408868 #444088 #884060
square
#848840 #408868 #444088 #884060
split-complementary
#848840 #406088 #684088
monochromatic
#333519 #5C5E2C #848840 #AAAF56 #BFC37F

Accessibility & contrast

On white

3.77
#848840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#848840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848840
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848840#FFFFFF#000000##000000
##8488401.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918239
Deuteranopia (green-blind)
#918444
Tritanopia (blue-blind)
#8C8178
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #848840;
/* rgb */ color: rgb(132, 136, 64);
/* oklch */ color: oklch(60.7% 0.096 111.8);
Tailwind
colors: {
  custom: {
    50: '#a9aa77',
    500: '#848840',
    950: '#000000',
  },
}
SCSS
$custom: #848840;
$custom-light: #a9aa77;
$custom-dark: #000000;
JSON
{
  "hex": "#848840",
  "rgb": {
    "r": 132,
    "g": 136,
    "b": 64
  },
  "hsl": {
    "h": 63.333,
    "s": 36,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60742,
    "c": 0.09554,
    "h": 111.8
  },
  "luminance": 0.22884
}

Semantic roles & 50–950 ramp

primary
#848840
secondary
#7976AD
accent
#5CCC62
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #848840

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

Preview Lab → · Contrast checker → · Palette generator →

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