#848822#848822

#848822 is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.4% C 0.121 H 111.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#848822
RGBrgb(132, 136, 34)
HSLhsl(62, 60%, 33%)
HSVhsv(62, 75%, 53%)
CMYKcmyk(2.9%, 0%, 75%, 46.7%)
CIE-LABlab(54.69, -14.36, 50.73)
CIE-LCHlch(54.69, 52.73, 105.80°)
OKLaboklab(60.45% -0.0447 0.112)
OKLCHoklch(60.45% 0.121 111.8)
XYZxyz(18.6092, 22.6298, 4.9008)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848822 #262288
analogous
#885922 #848822 #518822
triadic
#848822 #228488 #882284
tetradic
#848822 #228859 #262288 #882251
square
#848822 #228859 #262288 #882251
split-complementary
#848822 #225188 #592288
monochromatic
#25260A #545716 #848822 #B4B92E #CED351

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848822#FFFFFF#000000##000000
##8488221.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)
#93820D
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#8D7F74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #848822;
/* rgb */ color: rgb(132, 136, 34);
/* oklch */ color: oklch(60.4% 0.121 111.8);
Tailwind
colors: {
  custom: {
    50: '#abaa65',
    500: '#848822',
    950: '#000000',
  },
}
SCSS
$custom: #848822;
$custom-light: #abaa65;
$custom-dark: #000000;
JSON
{
  "hex": "#848822",
  "rgb": {
    "r": 132,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 62.353,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60446,
    "c": 0.12056,
    "h": 111.8
  },
  "luminance": 0.22629
}

Semantic roles & 50–950 ramp

primary
#848822
secondary
#534FB7
accent
#45E34B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848822

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

Preview Lab → · Contrast checker → · Palette generator →

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