#848D2F#848D2F

#848D2F is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 61.7% C 0.117 H 114.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#848D2F
RGBrgb(132, 141, 47)
HSLhsl(66, 50%, 37%)
HSVhsv(66, 67%, 55%)
CMYKcmyk(6.4%, 0%, 66.7%, 44.7%)
CIE-LABlab(56.25, -16.25, 47.12)
CIE-LCHlch(56.25, 49.84, 109.02°)
OKLaboklab(61.72% -0.0487 0.1066)
OKLCHoklch(61.72% 0.117 114.5)
XYZxyz(19.5542, 24.1609, 6.3222)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848D2F #382F8D
analogous
#8D672F #848D2F #558D2F
triadic
#848D2F #2F848D #8D2F84
tetradic
#848D2F #2F8D67 #382F8D #8D2F55
square
#848D2F #2F8D67 #382F8D #8D2F55
split-complementary
#848D2F #2F558D #672F8D
monochromatic
#2E3110 #595F20 #848D2F #AFBB3E #C4CD69

Accessibility & contrast

On white

3.60
#848D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#848D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848D2F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848D2F#FFFFFF#000000##000000
##848D2F1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978622
Deuteranopia (green-blind)
#978836
Tritanopia (blue-blind)
#8C857A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #848d2f;
/* rgb */ color: rgb(132, 141, 47);
/* oklch */ color: oklch(61.7% 0.117 114.5);
Tailwind
colors: {
  custom: {
    50: '#aaae6d',
    500: '#848d2f',
    950: '#000000',
  },
}
SCSS
$custom: #848d2f;
$custom-light: #aaae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#848d2f",
  "rgb": {
    "r": 132,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 65.745,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61724,
    "c": 0.11719,
    "h": 114.5
  },
  "luminance": 0.24161
}

Semantic roles & 50–950 ramp

primary
#848D2F
secondary
#6B64B4
accent
#4EDA5C
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #848D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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