#848828#848828

#848828 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.5% C 0.117 H 111.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#848828
RGBrgb(132, 136, 40)
HSLhsl(63, 55%, 35%)
HSVhsv(63, 71%, 53%)
CMYKcmyk(2.9%, 0%, 70.6%, 46.7%)
CIE-LABlab(54.73, -14.04, 48.48)
CIE-LCHlch(54.73, 50.47, 106.15°)
OKLaboklab(60.49% -0.0432 0.1083)
OKLCHoklch(60.49% 0.117 111.8)
XYZxyz(18.7035, 22.6675, 5.3971)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848828 #2C2888
analogous
#885C28 #848828 #548828
triadic
#848828 #288488 #882884
tetradic
#848828 #28885C #2C2888 #882854
square
#848828 #28885C #2C2888 #882854
split-complementary
#848828 #285488 #5C2888
monochromatic
#28290C #56591A #848828 #B2B736 #CACF5B

Accessibility & contrast

On white

3.80
#848828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#848828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848828
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848828#FFFFFF#000000##000000
##8488281.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938219
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#8D8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #848828;
/* rgb */ color: rgb(132, 136, 40);
/* oklch */ color: oklch(60.5% 0.117 111.8);
Tailwind
colors: {
  custom: {
    50: '#abaa68',
    500: '#848828',
    950: '#000000',
  },
}
SCSS
$custom: #848828;
$custom-light: #abaa68;
$custom-dark: #000000;
JSON
{
  "hex": "#848828",
  "rgb": {
    "r": 132,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 62.5,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.6049,
    "c": 0.1166,
    "h": 111.8
  },
  "luminance": 0.22667
}

Semantic roles & 50–950 ramp

primary
#848828
secondary
#5C58B4
accent
#4ADE50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848828

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

Preview Lab → · Contrast checker → · Palette generator →

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