#848D2E#848D2E

#848D2E is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 61.7% C 0.118 H 114.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#848D2E
RGBrgb(132, 141, 46)
HSLhsl(66, 51%, 37%)
HSVhsv(66, 67%, 55%)
CMYKcmyk(6.4%, 0%, 67.4%, 44.7%)
CIE-LABlab(56.24, -16.31, 47.54)
CIE-LCHlch(56.24, 50.26, 108.94°)
OKLaboklab(61.72% -0.049 0.1073)
OKLCHoklch(61.72% 0.118 114.5)
XYZxyz(19.5342, 24.1529, 6.2172)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848D2E #372E8D
analogous
#8D672E #848D2E #558D2E
triadic
#848D2E #2E848D #8D2E84
tetradic
#848D2E #2E8D67 #372E8D #8D2E55
square
#848D2E #2E8D67 #372E8D #8D2E55
split-complementary
#848D2E #2E558D #672E8D
monochromatic
#2E3110 #595F1F #848D2E #AFBB3D #C4CE68

Accessibility & contrast

On white

3.60
#848D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#848D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848D2E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848D2E#FFFFFF#000000##000000
##848D2E1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#978835
Tritanopia (blue-blind)
#8D857A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #848d2e;
/* rgb */ color: rgb(132, 141, 46);
/* oklch */ color: oklch(61.7% 0.118 114.5);
Tailwind
colors: {
  custom: {
    50: '#aaae6c',
    500: '#848d2e',
    950: '#000000',
  },
}
SCSS
$custom: #848d2e;
$custom-light: #aaae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#848d2e",
  "rgb": {
    "r": 132,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 65.684,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61715,
    "c": 0.11797,
    "h": 114.5
  },
  "luminance": 0.24153
}

Semantic roles & 50–950 ramp

primary
#848D2E
secondary
#6A62B5
accent
#4EDA5B
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #848D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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