#848718#848718

#848718 is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.2% C 0.125 H 111.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#848718
RGBrgb(132, 135, 24)
HSLhsl(62, 70%, 31%)
HSVhsv(62, 82%, 53%)
CMYKcmyk(2.2%, 0%, 82.2%, 47.1%)
CIE-LABlab(54.34, -14.25, 53.70)
CIE-LCHlch(54.34, 55.55, 104.86°)
OKLaboklab(60.15% -0.0453 0.1164)
OKLCHoklch(60.15% 0.125 111.3)
XYZxyz(18.3452, 22.2999, 4.2019)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848718 #1B1887
analogous
#875218 #848718 #4C8718
triadic
#848718 #188487 #871884
tetradic
#848718 #188752 #1B1887 #87184C
square
#848718 #188752 #1B1887 #87184C
split-complementary
#848718 #184C87 #521887
monochromatic
#1E1F06 #51530F #848718 #B7BB21 #D8DC3D

Accessibility & contrast

On white

3.85
#848718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#848718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848718
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848718#FFFFFF#000000##000000
##8487181.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#938323
Tritanopia (blue-blind)
#8E7E73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #848718;
/* rgb */ color: rgb(132, 135, 24);
/* oklch */ color: oklch(60.2% 0.125 111.3);
Tailwind
colors: {
  custom: {
    50: '#aba961',
    500: '#848718',
    950: '#000000',
  },
}
SCSS
$custom: #848718;
$custom-light: #aba961;
$custom-dark: #000000;
JSON
{
  "hex": "#848718",
  "rgb": {
    "r": 132,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 61.622,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60153,
    "c": 0.12486,
    "h": 111.3
  },
  "luminance": 0.22299
}

Semantic roles & 50–950 ramp

primary
#848718
secondary
#4340BB
accent
#3BED40
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #848718

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

Preview Lab → · Contrast checker → · Palette generator →

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