#848D15#848D15

#848D15 is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.6% C 0.133 H 114.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#848D15
RGBrgb(132, 141, 21)
HSLhsl(65, 74%, 32%)
HSVhsv(65, 85%, 55%)
CMYKcmyk(6.4%, 0%, 85.1%, 44.7%)
CIE-LABlab(56.10, -17.51, 56.02)
CIE-LCHlch(56.10, 58.69, 107.36°)
OKLaboklab(61.56% -0.0545 0.1208)
OKLCHoklch(61.56% 0.133 114.3)
XYZxyz(19.1766, 24.0098, 4.3335)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848D15 #1E158D
analogous
#8D5A15 #848D15 #488D15
triadic
#848D15 #15848D #8D1584
tetradic
#848D15 #158D5A #1E158D #8D1548
square
#848D15 #158D5A #1E158D #8D1548
split-complementary
#848D15 #15488D #5A158D
monochromatic
#202205 #52580D #848D15 #B6C21D #D5E23B

Accessibility & contrast

On white

3.62
#848D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#848D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848D15
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848D15#FFFFFF#000000##000000
##848D151.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#988722
Tritanopia (blue-blind)
#8D8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #848d15;
/* rgb */ color: rgb(132, 141, 21);
/* oklch */ color: oklch(61.6% 0.133 114.3);
Tailwind
colors: {
  custom: {
    50: '#abae60',
    500: '#848d15',
    950: '#000000',
  },
}
SCSS
$custom: #848d15;
$custom-light: #abae60;
$custom-dark: #000000;
JSON
{
  "hex": "#848d15",
  "rgb": {
    "r": 132,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 64.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61555,
    "c": 0.13255,
    "h": 114.3
  },
  "luminance": 0.24009
}

Semantic roles & 50–950 ramp

primary
#848D15
secondary
#473DC1
accent
#37F145
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #848D15

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

Preview Lab → · Contrast checker → · Palette generator →

#848D15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva