#848B2E#848B2E

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

Color values

HEX#848B2E
RGBrgb(132, 139, 46)
HSLhsl(65, 50%, 36%)
HSVhsv(65, 67%, 55%)
CMYKcmyk(5%, 0%, 66.9%, 45.5%)
CIE-LABlab(55.65, -15.26, 46.93)
CIE-LCHlch(55.65, 49.35, 108.01°)
OKLaboklab(61.25% -0.046 0.106)
OKLCHoklch(61.25% 0.116 113.5)
XYZxyz(19.2420, 23.5684, 6.1198)
Luminance0.2357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848B2E #352E8B
analogous
#8B642E #848B2E #568B2E
triadic
#848B2E #2E848B #8B2E84
tetradic
#848B2E #2E8B64 #352E8B #8B2E56
square
#848B2E #2E8B64 #352E8B #8B2E56
split-complementary
#848B2E #2E568B #642E8B
monochromatic
#2D2F10 #585D1F #848B2E #B0B93D #C5CD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848B2E#FFFFFF#000000##000000
##848B2E1.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)
#958421
Deuteranopia (green-blind)
#958634
Tritanopia (blue-blind)
#8D8378
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #848b2e;
/* rgb */ color: rgb(132, 139, 46);
/* oklch */ color: oklch(61.2% 0.116 113.5);
Tailwind
colors: {
  custom: {
    50: '#aaac6c',
    500: '#848b2e',
    950: '#000000',
  },
}
SCSS
$custom: #848b2e;
$custom-light: #aaac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#848b2e",
  "rgb": {
    "r": 132,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 64.516,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61245,
    "c": 0.11559,
    "h": 113.5
  },
  "luminance": 0.23568
}

Semantic roles & 50–950 ramp

primary
#848B2E
secondary
#6861B3
accent
#4EDA59
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #848B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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