#848B2D#848B2D

#848B2D is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.2% C 0.116 H 113.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#848B2D
RGBrgb(132, 139, 45)
HSLhsl(64, 51%, 36%)
HSVhsv(64, 68%, 55%)
CMYKcmyk(5%, 0%, 67.6%, 45.5%)
CIE-LABlab(55.65, -15.32, 47.35)
CIE-LCHlch(55.65, 49.76, 107.94°)
OKLaboklab(61.24% -0.0463 0.1068)
OKLCHoklch(61.24% 0.116 113.4)
XYZxyz(19.2225, 23.5606, 6.0172)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848B2D #342D8B
analogous
#8B632D #848B2D #558B2D
triadic
#848B2D #2D848B #8B2D84
tetradic
#848B2D #2D8B63 #342D8B #8B2D55
square
#848B2D #2D8B63 #342D8B #8B2D55
split-complementary
#848B2D #2D558B #632D8B
monochromatic
#2C2F0F #585D1E #848B2D #B0B93C #C5CD65

Accessibility & contrast

On white

3.68
#848B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#848B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848B2D
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848B2D#FFFFFF#000000##000000
##848B2D1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958420
Deuteranopia (green-blind)
#958634
Tritanopia (blue-blind)
#8D8378
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #848b2d;
/* rgb */ color: rgb(132, 139, 45);
/* oklch */ color: oklch(61.2% 0.116 113.4);
Tailwind
colors: {
  custom: {
    50: '#aaac6b',
    500: '#848b2d',
    950: '#000000',
  },
}
SCSS
$custom: #848b2d;
$custom-light: #aaac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#848b2d",
  "rgb": {
    "r": 132,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 64.468,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61236,
    "c": 0.11637,
    "h": 113.4
  },
  "luminance": 0.2356
}

Semantic roles & 50–950 ramp

primary
#848B2D
secondary
#6660B4
accent
#4DDB58
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #848B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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