#848C2B#848C2B

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

Color values

HEX#848C2B
RGBrgb(132, 140, 43)
HSLhsl(65, 53%, 36%)
HSVhsv(65, 69%, 55%)
CMYKcmyk(5.7%, 0%, 69.3%, 45.1%)
CIE-LABlab(55.92, -15.98, 48.46)
CIE-LCHlch(55.92, 51.03, 108.25°)
OKLaboklab(61.45% -0.0483 0.1088)
OKLCHoklch(61.45% 0.119 114)
XYZxyz(19.3304, 23.8365, 5.8676)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848C2B #332B8C
analogous
#8C632B #848C2B #538C2B
triadic
#848C2B #2B848C #8C2B84
tetradic
#848C2B #2B8C63 #332B8C #8C2B53
square
#848C2B #2B8C63 #332B8C #8C2B53
split-complementary
#848C2B #2B538C #632B8C
monochromatic
#2C2E0E #585D1D #848C2B #B0BB39 #C6CF62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848C2B#FFFFFF#000000##000000
##848C2B1.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)
#96851C
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#8D8479
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #848c2b;
/* rgb */ color: rgb(132, 140, 43);
/* oklch */ color: oklch(61.5% 0.119 114.0);
Tailwind
colors: {
  custom: {
    50: '#aaad6a',
    500: '#848c2b',
    950: '#000000',
  },
}
SCSS
$custom: #848c2b;
$custom-light: #aaad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#848c2b",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 64.948,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61454,
    "c": 0.11903,
    "h": 114
  },
  "luminance": 0.23836
}

Semantic roles & 50–950 ramp

primary
#848C2B
secondary
#655EB5
accent
#4BDC57
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #848C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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