#848628#848628

#848628 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.0% C 0.114 H 110.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#848628
RGBrgb(132, 134, 40)
HSLhsl(61, 54%, 34%)
HSVhsv(61, 70%, 53%)
CMYKcmyk(1.5%, 0%, 70.1%, 47.5%)
CIE-LABlab(54.14, -12.97, 47.89)
CIE-LCHlch(54.14, 49.62, 105.15°)
OKLaboklab(60.02% -0.0402 0.1071)
OKLCHoklch(60.02% 0.114 110.6)
XYZxyz(18.4244, 22.1094, 5.3041)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848628 #2A2886
analogous
#865928 #848628 #558628
triadic
#848628 #288486 #862884
tetradic
#848628 #288659 #2A2886 #862855
square
#848628 #288659 #2A2886 #862855
split-complementary
#848628 #285586 #592886
monochromatic
#27280C #56571A #848628 #B2B536 #CBCE5B

Accessibility & contrast

On white

3.87
#848628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#848628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848628
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848628#FFFFFF#000000##000000
##8486281.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918019
Deuteranopia (green-blind)
#91832F
Tritanopia (blue-blind)
#8D7E73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #848628;
/* rgb */ color: rgb(132, 134, 40);
/* oklch */ color: oklch(60.0% 0.114 110.6);
Tailwind
colors: {
  custom: {
    50: '#aba968',
    500: '#848628',
    950: '#000000',
  },
}
SCSS
$custom: #848628;
$custom-light: #aba968;
$custom-dark: #000000;
JSON
{
  "hex": "#848628",
  "rgb": {
    "r": 132,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 61.277,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60022,
    "c": 0.11437,
    "h": 110.6
  },
  "luminance": 0.22109
}

Semantic roles & 50–950 ramp

primary
#848628
secondary
#5957B3
accent
#4ADD4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #848628

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

Preview Lab → · Contrast checker → · Palette generator →

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