#848518#848518

#848518 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#848518
RGBrgb(132, 133, 24)
HSLhsl(61, 69%, 31%)
HSVhsv(61, 82%, 52%)
CMYKcmyk(0.8%, 0%, 82%, 47.8%)
CIE-LABlab(53.76, -13.18, 53.18)
CIE-LCHlch(53.76, 54.79, 103.92°)
OKLaboklab(59.68% -0.0423 0.1153)
OKLCHoklch(59.68% 0.123 110.2)
XYZxyz(18.0688, 21.7471, 4.1098)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848518 #191885
analogous
#854F18 #848518 #4E8518
triadic
#848518 #188485 #851884
tetradic
#848518 #18854F #191885 #85184E
square
#848518 #18854F #191885 #85184E
split-complementary
#848518 #184E85 #4F1885
monochromatic
#1D1D05 #51510F #848518 #B7B921 #DADC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848518#FFFFFF#000000##000000
##8485181.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: #848518;
/* rgb */ color: rgb(132, 133, 24);
/* oklch */ color: oklch(59.7% 0.123 110.2);
Tailwind
colors: {
  custom: {
    50: '#aba860',
    500: '#848518',
    950: '#000000',
  },
}
SCSS
$custom: #848518;
$custom-light: #aba860;
$custom-dark: #000000;
JSON
{
  "hex": "#848518",
  "rgb": {
    "r": 132,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 60.55,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59684,
    "c": 0.12278,
    "h": 110.2
  },
  "luminance": 0.21747
}

Semantic roles & 50–950 ramp

primary
#848518
secondary
#4140B9
accent
#3CEC3D
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #848518

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

Preview Lab → · Contrast checker → · Palette generator →

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