#848D18#848D18

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

Color values

HEX#848D18
RGBrgb(132, 141, 24)
HSLhsl(65, 71%, 32%)
HSVhsv(65, 83%, 55%)
CMYKcmyk(6.4%, 0%, 83%, 44.7%)
CIE-LABlab(56.11, -17.41, 55.24)
CIE-LCHlch(56.11, 57.91, 107.49°)
OKLaboklab(61.57% -0.054 0.1197)
OKLCHoklch(61.57% 0.131 114.3)
XYZxyz(19.2061, 24.0216, 4.4889)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848D18 #21188D
analogous
#8D5B18 #848D18 #4A8D18
triadic
#848D18 #18848D #8D1884
tetradic
#848D18 #188D5B #21188D #8D184A
square
#848D18 #188D5B #21188D #8D184A
split-complementary
#848D18 #184A8D #5B188D
monochromatic
#222406 #53590F #848D18 #B5C121 #D2DF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848D18#FFFFFF#000000##000000
##848D181.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)
#988724
Tritanopia (blue-blind)
#8D8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #848d18;
/* rgb */ color: rgb(132, 141, 24);
/* oklch */ color: oklch(61.6% 0.131 114.3);
Tailwind
colors: {
  custom: {
    50: '#abae62',
    500: '#848d18',
    950: '#000000',
  },
}
SCSS
$custom: #848d18;
$custom-light: #abae62;
$custom-dark: #000000;
JSON
{
  "hex": "#848d18",
  "rgb": {
    "r": 132,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 64.615,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61568,
    "c": 0.1313,
    "h": 114.3
  },
  "luminance": 0.24021
}

Semantic roles & 50–950 ramp

primary
#848D18
secondary
#4B42BF
accent
#3AEE48
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #848D18

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

Preview Lab → · Contrast checker → · Palette generator →

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