#848C1E#848C1E

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

Color values

HEX#848C1E
RGBrgb(132, 140, 30)
HSLhsl(64, 65%, 33%)
HSVhsv(64, 79%, 55%)
CMYKcmyk(5.7%, 0%, 78.6%, 45.1%)
CIE-LABlab(55.84, -16.65, 53.19)
CIE-LCHlch(55.84, 55.73, 107.39°)
OKLaboklab(61.36% -0.0515 0.1164)
OKLCHoklch(61.36% 0.127 113.8)
XYZxyz(19.1287, 23.7558, 4.8057)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848C1E #261E8C
analogous
#8C5D1E #848C1E #4D8C1E
triadic
#848C1E #1E848C #8C1E84
tetradic
#848C1E #1E8C5D #261E8C #8C1E4D
square
#848C1E #1E8C5D #261E8C #8C1E4D
split-complementary
#848C1E #1E4D8C #5D1E8C
monochromatic
#252708 #545A13 #848C1E #B4BE29 #CED94C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848C1E#FFFFFF#000000##000000
##848C1E1.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)
#978728
Tritanopia (blue-blind)
#8D8378
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #848c1e;
/* rgb */ color: rgb(132, 140, 30);
/* oklch */ color: oklch(61.4% 0.127 113.8);
Tailwind
colors: {
  custom: {
    50: '#abad64',
    500: '#848c1e',
    950: '#000000',
  },
}
SCSS
$custom: #848c1e;
$custom-light: #abad64;
$custom-dark: #000000;
JSON
{
  "hex": "#848c1e",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 64.364,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61363,
    "c": 0.12728,
    "h": 113.8
  },
  "luminance": 0.23755
}

Semantic roles & 50–950 ramp

primary
#848C1E
secondary
#534BBB
accent
#40E84C
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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