#848728#848728

#848728 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.3% C 0.115 H 111.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#848728
RGBrgb(132, 135, 40)
HSLhsl(62, 54%, 34%)
HSVhsv(62, 70%, 53%)
CMYKcmyk(2.2%, 0%, 70.4%, 47.1%)
CIE-LABlab(54.44, -13.50, 48.19)
CIE-LCHlch(54.44, 50.04, 105.66°)
OKLaboklab(60.26% -0.0417 0.1077)
OKLCHoklch(60.26% 0.115 111.2)
XYZxyz(18.5633, 22.3872, 5.3504)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848728 #2B2887
analogous
#875B28 #848728 #558728
triadic
#848728 #288487 #872884
tetradic
#848728 #28875B #2B2887 #872855
square
#848728 #28875B #2B2887 #872855
split-complementary
#848728 #285587 #5B2887
monochromatic
#28290C #56581A #848728 #B2B636 #CBCE5B

Accessibility & contrast

On white

3.83
#848728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#848728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848728
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848728#FFFFFF#000000##000000
##8487281.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928119
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#8D7F74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #848728;
/* rgb */ color: rgb(132, 135, 40);
/* oklch */ color: oklch(60.3% 0.115 111.2);
Tailwind
colors: {
  custom: {
    50: '#aba968',
    500: '#848728',
    950: '#000000',
  },
}
SCSS
$custom: #848728;
$custom-light: #aba968;
$custom-dark: #000000;
JSON
{
  "hex": "#848728",
  "rgb": {
    "r": 132,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 61.895,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.11548,
    "h": 111.2
  },
  "luminance": 0.22387
}

Semantic roles & 50–950 ramp

primary
#848728
secondary
#5A57B4
accent
#4ADE4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #848728

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

Preview Lab → · Contrast checker → · Palette generator →

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