#848517#848517

#848517 is a mid, vivid yellow. Relative luminance 0.217; OKLCH L 59.7% C 0.123 H 110.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#848517
RGBrgb(132, 133, 23)
HSLhsl(61, 71%, 31%)
HSVhsv(61, 83%, 52%)
CMYKcmyk(0.8%, 0%, 82.7%, 47.8%)
CIE-LABlab(53.75, -13.22, 53.47)
CIE-LCHlch(53.75, 55.08, 103.89°)
OKLaboklab(59.68% -0.0425 0.1157)
OKLCHoklch(59.68% 0.123 110.2)
XYZxyz(18.0586, 21.7430, 4.0560)
Luminance0.2174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848517 #181785
analogous
#854F17 #848517 #4D8517
triadic
#848517 #178485 #851784
tetradic
#848517 #17854F #181785 #85174D
square
#848517 #17854F #181785 #85174D
split-complementary
#848517 #174D85 #4F1785
monochromatic
#1C1D05 #50510E #848517 #B8B920 #DBDD3A

Accessibility & contrast

On white

3.93
#848517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#848517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848517
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848517#FFFFFF#000000##000000
##8485171.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#918222
Tritanopia (blue-blind)
#8E7C71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #848517;
/* rgb */ color: rgb(132, 133, 23);
/* oklch */ color: oklch(59.7% 0.123 110.2);
Tailwind
colors: {
  custom: {
    50: '#aba860',
    500: '#848517',
    950: '#000000',
  },
}
SCSS
$custom: #848517;
$custom-light: #aba860;
$custom-dark: #000000;
JSON
{
  "hex": "#848517",
  "rgb": {
    "r": 132,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 60.545,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5968,
    "c": 0.12325,
    "h": 110.2
  },
  "luminance": 0.21742
}

Semantic roles & 50–950 ramp

primary
#848517
secondary
#403FB9
accent
#3BED3C
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #848517

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

Preview Lab → · Contrast checker → · Palette generator →

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