#848D3A#848D3A

#848D3A is a mid, moderate yellow. Relative luminance 0.243; OKLCH L 61.8% C 0.108 H 114.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#848D3A
RGBrgb(132, 141, 58)
HSLhsl(67, 42%, 39%)
HSVhsv(67, 59%, 55%)
CMYKcmyk(6.4%, 0%, 58.9%, 44.7%)
CIE-LABlab(56.35, -15.42, 42.24)
CIE-LCHlch(56.35, 44.97, 110.06°)
OKLaboklab(61.84% -0.0451 0.0978)
OKLCHoklch(61.84% 0.108 114.8)
XYZxyz(19.8047, 24.2611, 7.6417)
Luminance0.2426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848D3A #433A8D
analogous
#8D6D3A #848D3A #5B8D3A
triadic
#848D3A #3A848D #8D3A84
tetradic
#848D3A #3A8D6D #433A8D #8D3A5B
square
#848D3A #3A8D6D #433A8D #8D3A5B
split-complementary
#848D3A #3A5B8D #6D3A8D
monochromatic
#333616 #5B6228 #848D3A #ABB64E #C0C879

Accessibility & contrast

On white

3.59
#848D3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#848D3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848D3A
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848D3A#FFFFFF#000000##000000
##848D3A1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968631
Deuteranopia (green-blind)
#96883F
Tritanopia (blue-blind)
#8C857B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #848d3a;
/* rgb */ color: rgb(132, 141, 58);
/* oklch */ color: oklch(61.8% 0.108 114.8);
Tailwind
colors: {
  custom: {
    50: '#aaae73',
    500: '#848d3a',
    950: '#000000',
  },
}
SCSS
$custom: #848d3a;
$custom-light: #aaae73;
$custom-dark: #000000;
JSON
{
  "hex": "#848d3a",
  "rgb": {
    "r": 132,
    "g": 141,
    "b": 58
  },
  "hsl": {
    "h": 66.506,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61836,
    "c": 0.10775,
    "h": 114.8
  },
  "luminance": 0.24261
}

Semantic roles & 50–950 ramp

primary
#848D3A
secondary
#7871B1
accent
#56D264
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#101008
muted
#7F7F7B

Preview Lab

Preview with #848D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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