#848D2A#848D2A

#848D2A is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.7% C 0.121 H 114.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#848D2A
RGBrgb(132, 141, 42)
HSLhsl(65, 54%, 36%)
HSVhsv(65, 70%, 55%)
CMYKcmyk(6.4%, 0%, 70.2%, 44.7%)
CIE-LABlab(56.21, -16.56, 49.16)
CIE-LCHlch(56.21, 51.87, 108.62°)
OKLaboklab(61.68% -0.0501 0.1101)
OKLCHoklch(61.68% 0.121 114.5)
XYZxyz(19.4590, 24.1228, 5.8211)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848D2A #332A8D
analogous
#8D642A #848D2A #528D2A
triadic
#848D2A #2A848D #8D2A84
tetradic
#848D2A #2A8D64 #332A8D #8D2A52
square
#848D2A #2A8D64 #332A8D #8D2A52
split-complementary
#848D2A #2A528D #642A8D
monochromatic
#2C2F0E #585E1C #848D2A #B0BC38 #C6D061

Accessibility & contrast

On white

3.61
#848D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#848D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848D2A
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848D2A#FFFFFF#000000##000000
##848D2A1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861B
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#8D8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #848d2a;
/* rgb */ color: rgb(132, 141, 42);
/* oklch */ color: oklch(61.7% 0.121 114.5);
Tailwind
colors: {
  custom: {
    50: '#abae6a',
    500: '#848d2a',
    950: '#000000',
  },
}
SCSS
$custom: #848d2a;
$custom-light: #abae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#848d2a",
  "rgb": {
    "r": 132,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 65.455,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61681,
    "c": 0.12092,
    "h": 114.5
  },
  "luminance": 0.24122
}

Semantic roles & 50–950 ramp

primary
#848D2A
secondary
#655DB6
accent
#4ADD58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #848D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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