#848218#848218

#848218 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.0% C 0.120 H 108.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#848218
RGBrgb(132, 130, 24)
HSLhsl(59, 69%, 31%)
HSVhsv(59, 82%, 52%)
CMYKcmyk(0%, 1.5%, 81.8%, 48.2%)
CIE-LABlab(52.88, -11.57, 52.41)
CIE-LCHlch(52.88, 53.68, 102.44°)
OKLaboklab(58.98% -0.0378 0.1136)
OKLCHoklch(58.98% 0.12 108.4)
XYZxyz(17.6639, 20.9373, 3.9748)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848218 #181A84
analogous
#844C18 #848218 #508418
triadic
#848218 #188482 #821884
tetradic
#848218 #18844C #181A84 #841850
square
#848218 #18844C #181A84 #841850
split-complementary
#848218 #185084 #4C1884
monochromatic
#1C1C05 #504F0F #848218 #B8B521 #DBD83B

Accessibility & contrast

On white

4.05
#848218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#848218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848218
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848218#FFFFFF#000000##000000
##8482181.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8F8022
Tritanopia (blue-blind)
#8E796F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #848218;
/* rgb */ color: rgb(132, 130, 24);
/* oklch */ color: oklch(59.0% 0.120 108.4);
Tailwind
colors: {
  custom: {
    50: '#aba660',
    500: '#848218',
    950: '#000000',
  },
}
SCSS
$custom: #848218;
$custom-light: #aba660;
$custom-dark: #000000;
JSON
{
  "hex": "#848218",
  "rgb": {
    "r": 132,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 58.889,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58984,
    "c": 0.11974,
    "h": 108.4
  },
  "luminance": 0.20937
}

Semantic roles & 50–950 ramp

primary
#848218
secondary
#4042B8
accent
#3FEC3C
background
#FAFAF5
surface
#F5F4EA
border
#CFCEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #848218

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

Preview Lab → · Contrast checker → · Palette generator →

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