#848C16#848C16

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

Color values

HEX#848C16
RGBrgb(132, 140, 22)
HSLhsl(64, 73%, 32%)
HSVhsv(64, 84%, 55%)
CMYKcmyk(5.7%, 0%, 84.3%, 45.1%)
CIE-LABlab(55.81, -16.96, 55.51)
CIE-LCHlch(55.81, 58.05, 106.98°)
OKLaboklab(61.32% -0.0529 0.1199)
OKLCHoklch(61.32% 0.131 113.8)
XYZxyz(19.0392, 23.7200, 4.3344)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848C16 #1E168C
analogous
#8C5916 #848C16 #498C16
triadic
#848C16 #16848C #8C1684
tetradic
#848C16 #168C59 #1E168C #8C1649
square
#848C16 #168C59 #1E168C #8C1649
split-complementary
#848C16 #16498C #59168C
monochromatic
#202205 #52570E #848C16 #B6C11E #D5E03C

Accessibility & contrast

On white

3.66
#848C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#848C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848C16
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848C16#FFFFFF#000000##000000
##848C161.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #848c16;
/* rgb */ color: rgb(132, 140, 22);
/* oklch */ color: oklch(61.3% 0.131 113.8);
Tailwind
colors: {
  custom: {
    50: '#abad61',
    500: '#848c16',
    950: '#000000',
  },
}
SCSS
$custom: #848c16;
$custom-light: #abad61;
$custom-dark: #000000;
JSON
{
  "hex": "#848c16",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 64.068,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61322,
    "c": 0.13107,
    "h": 113.8
  },
  "luminance": 0.2372
}

Semantic roles & 50–950 ramp

primary
#848C16
secondary
#473EC0
accent
#38F045
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #848C16

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

Preview Lab → · Contrast checker → · Palette generator →

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