#848226#848226

#848226 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.1% C 0.111 H 108.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#848226
RGBrgb(132, 130, 38)
HSLhsl(59, 55%, 33%)
HSVhsv(59, 71%, 52%)
CMYKcmyk(0%, 1.5%, 71.2%, 48.2%)
CIE-LABlab(52.96, -10.92, 47.53)
CIE-LCHlch(52.96, 48.77, 102.94°)
OKLaboklab(59.07% -0.0347 0.1059)
OKLCHoklch(59.07% 0.111 108.1)
XYZxyz(17.8488, 21.0113, 4.9487)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848226 #262884
analogous
#845326 #848226 #578426
triadic
#848226 #268482 #822684
tetradic
#848226 #268453 #262884 #842657
square
#848226 #268453 #262884 #842657
split-complementary
#848226 #265784 #532684
monochromatic
#25240B #545318 #848226 #B4B134 #CECC56

Accessibility & contrast

On white

4.04
#848226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#848226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848226
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848226#FFFFFF#000000##000000
##8482261.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D17
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#8E7970
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #848226;
/* rgb */ color: rgb(132, 130, 38);
/* oklch */ color: oklch(59.1% 0.111 108.1);
Tailwind
colors: {
  custom: {
    50: '#aba667',
    500: '#848226',
    950: '#000000',
  },
}
SCSS
$custom: #848226;
$custom-light: #aba667;
$custom-dark: #000000;
JSON
{
  "hex": "#848226",
  "rgb": {
    "r": 132,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 58.723,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59074,
    "c": 0.11147,
    "h": 108.1
  },
  "luminance": 0.21011
}

Semantic roles & 50–950 ramp

primary
#848226
secondary
#5355B3
accent
#4CDF49
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #848226

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

Preview Lab → · Contrast checker → · Palette generator →

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