#848C2E#848C2E

#848C2E is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.117 H 114.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#848C2E
RGBrgb(132, 140, 46)
HSLhsl(65, 51%, 36%)
HSVhsv(65, 67%, 55%)
CMYKcmyk(5.7%, 0%, 67.1%, 45.1%)
CIE-LABlab(55.95, -15.79, 47.23)
CIE-LCHlch(55.95, 49.80, 108.48°)
OKLaboklab(61.48% -0.0475 0.1067)
OKLCHoklch(61.48% 0.117 114)
XYZxyz(19.3874, 23.8593, 6.1682)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848C2E #362E8C
analogous
#8C652E #848C2E #558C2E
triadic
#848C2E #2E848C #8C2E84
tetradic
#848C2E #2E8C65 #362E8C #8C2E55
square
#848C2E #2E8C65 #362E8C #8C2E55
split-complementary
#848C2E #2E558C #652E8C
monochromatic
#2D3010 #595E1F #848C2E #AFBA3D #C4CD67

Accessibility & contrast

On white

3.64
#848C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#848C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848C2E
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848C2E#FFFFFF#000000##000000
##848C2E1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968521
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#8D8479
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #848c2e;
/* rgb */ color: rgb(132, 140, 46);
/* oklch */ color: oklch(61.5% 0.117 114.0);
Tailwind
colors: {
  custom: {
    50: '#aaad6c',
    500: '#848c2e',
    950: '#000000',
  },
}
SCSS
$custom: #848c2e;
$custom-light: #aaad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#848c2e",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 65.106,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6148,
    "c": 0.11678,
    "h": 114
  },
  "luminance": 0.23859
}

Semantic roles & 50–950 ramp

primary
#848C2E
secondary
#6962B4
accent
#4EDA5A
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #848C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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