#848817#848817

#848817 is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.4% C 0.126 H 111.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#848817
RGBrgb(132, 136, 23)
HSLhsl(62, 71%, 31%)
HSVhsv(62, 83%, 53%)
CMYKcmyk(2.9%, 0%, 83.1%, 46.7%)
CIE-LABlab(54.63, -14.82, 54.23)
CIE-LCHlch(54.63, 56.22, 105.28°)
OKLaboklab(60.38% -0.0469 0.1173)
OKLCHoklch(60.38% 0.126 111.8)
XYZxyz(18.4752, 22.5762, 4.1949)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848817 #1B1788
analogous
#885317 #848817 #4B8817
triadic
#848817 #178488 #881784
tetradic
#848817 #178853 #1B1788 #88174B
square
#848817 #178853 #1B1788 #88174B
split-complementary
#848817 #174B88 #531788
monochromatic
#1E1F05 #51540E #848817 #B7BC20 #D8DE3B

Accessibility & contrast

On white

3.81
#848817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#848817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848817
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848817#FFFFFF#000000##000000
##8488171.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#948422
Tritanopia (blue-blind)
#8E7F74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #848817;
/* rgb */ color: rgb(132, 136, 23);
/* oklch */ color: oklch(60.4% 0.126 111.8);
Tailwind
colors: {
  custom: {
    50: '#abaa60',
    500: '#848817',
    950: '#000000',
  },
}
SCSS
$custom: #848817;
$custom-light: #abaa60;
$custom-dark: #000000;
JSON
{
  "hex": "#848817",
  "rgb": {
    "r": 132,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 62.124,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60384,
    "c": 0.12637,
    "h": 111.8
  },
  "luminance": 0.22576
}

Semantic roles & 50–950 ramp

primary
#848817
secondary
#433FBC
accent
#3AEE40
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #848817

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

Preview Lab → · Contrast checker → · Palette generator →

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