#848C18#848C18

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

Color values

HEX#848C18
RGBrgb(132, 140, 24)
HSLhsl(64, 71%, 32%)
HSVhsv(64, 83%, 55%)
CMYKcmyk(5.7%, 0%, 82.9%, 45.1%)
CIE-LABlab(55.81, -16.89, 54.98)
CIE-LCHlch(55.81, 57.51, 107.08°)
OKLaboklab(61.33% -0.0526 0.1191)
OKLCHoklch(61.33% 0.13 113.8)
XYZxyz(19.0593, 23.7281, 4.4399)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848C18 #20188C
analogous
#8C5A18 #848C18 #4A8C18
triadic
#848C18 #18848C #8C1884
tetradic
#848C18 #188C5A #20188C #8C184A
square
#848C18 #188C5A #20188C #8C184A
split-complementary
#848C18 #184A8C #5A188C
monochromatic
#212406 #53580F #848C18 #B5C021 #D3DE40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848C18#FFFFFF#000000##000000
##848C181.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)
#978724
Tritanopia (blue-blind)
#8D8377
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #848c18;
/* rgb */ color: rgb(132, 140, 24);
/* oklch */ color: oklch(61.3% 0.130 113.8);
Tailwind
colors: {
  custom: {
    50: '#abad61',
    500: '#848c18',
    950: '#000000',
  },
}
SCSS
$custom: #848c18;
$custom-light: #abad61;
$custom-dark: #000000;
JSON
{
  "hex": "#848c18",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 64.138,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.13021,
    "h": 113.8
  },
  "luminance": 0.23728
}

Semantic roles & 50–950 ramp

primary
#848C18
secondary
#4A41BF
accent
#3AED47
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #848C18

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

Preview Lab → · Contrast checker → · Palette generator →

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