#848C1D#848C1D

#848C1D is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.4% C 0.128 H 113.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#848C1D
RGBrgb(132, 140, 29)
HSLhsl(64, 66%, 33%)
HSVhsv(64, 79%, 55%)
CMYKcmyk(5.7%, 0%, 79.3%, 45.1%)
CIE-LABlab(55.84, -16.70, 53.50)
CIE-LCHlch(55.84, 56.05, 107.33°)
OKLaboklab(61.36% -0.0517 0.1169)
OKLCHoklch(61.36% 0.128 113.8)
XYZxyz(19.1162, 23.7508, 4.7395)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848C1D #251D8C
analogous
#8C5C1D #848C1D #4D8C1D
triadic
#848C1D #1D848C #8C1D84
tetradic
#848C1D #1D8C5C #251D8C #8C1D4D
square
#848C1D #1D8C5C #251D8C #8C1D4D
split-complementary
#848C1D #1D4D8C #5C1D8C
monochromatic
#242708 #545912 #848C1D #B4BF28 #CFD94A

Accessibility & contrast

On white

3.65
#848C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#848C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848C1D
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848C1D#FFFFFF#000000##000000
##848C1D1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#8D8377
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #848c1d;
/* rgb */ color: rgb(132, 140, 29);
/* oklch */ color: oklch(61.4% 0.128 113.8);
Tailwind
colors: {
  custom: {
    50: '#abad63',
    500: '#848c1d',
    950: '#000000',
  },
}
SCSS
$custom: #848c1d;
$custom-light: #abad63;
$custom-dark: #000000;
JSON
{
  "hex": "#848c1d",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 64.324,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61357,
    "c": 0.1278,
    "h": 113.8
  },
  "luminance": 0.2375
}

Semantic roles & 50–950 ramp

primary
#848C1D
secondary
#5149BC
accent
#3FE94B
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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