#848B2C#848B2C

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

Color values

HEX#848B2C
RGBrgb(132, 139, 44)
HSLhsl(64, 52%, 36%)
HSVhsv(64, 68%, 55%)
CMYKcmyk(5%, 0%, 68.3%, 45.5%)
CIE-LABlab(55.64, -15.39, 47.76)
CIE-LCHlch(55.64, 50.18, 107.86°)
OKLaboklab(61.23% -0.0466 0.1075)
OKLCHoklch(61.23% 0.117 113.4)
XYZxyz(19.2035, 23.5530, 5.9170)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848B2C #332C8B
analogous
#8B622C #848B2C #548B2C
triadic
#848B2C #2C848B #8B2C84
tetradic
#848B2C #2C8B62 #332C8B #8B2C54
square
#848B2C #2C8B62 #332C8B #8B2C54
split-complementary
#848B2C #2C548B #622C8B
monochromatic
#2C2E0F #585D1D #848B2C #B0B93B #C6CE64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848B2C#FFFFFF#000000##000000
##848B2C1.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)
#95841E
Deuteranopia (green-blind)
#958633
Tritanopia (blue-blind)
#8D8378
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #848b2c;
/* rgb */ color: rgb(132, 139, 44);
/* oklch */ color: oklch(61.2% 0.117 113.4);
Tailwind
colors: {
  custom: {
    50: '#aaac6b',
    500: '#848b2c',
    950: '#000000',
  },
}
SCSS
$custom: #848b2c;
$custom-light: #aaac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#848b2c",
  "rgb": {
    "r": 132,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 64.421,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61227,
    "c": 0.11712,
    "h": 113.4
  },
  "luminance": 0.23553
}

Semantic roles & 50–950 ramp

primary
#848B2C
secondary
#655FB4
accent
#4CDB57
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #848B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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