#848B2F#848B2F

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

Color values

HEX#848B2F
RGBrgb(132, 139, 47)
HSLhsl(65, 49%, 36%)
HSVhsv(65, 66%, 55%)
CMYKcmyk(5%, 0%, 66.2%, 45.5%)
CIE-LABlab(55.66, -15.19, 46.51)
CIE-LCHlch(55.66, 48.93, 108.09°)
OKLaboklab(61.25% -0.0457 0.1053)
OKLCHoklch(61.25% 0.115 113.5)
XYZxyz(19.2619, 23.5764, 6.2248)
Luminance0.2358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848B2F #362F8B
analogous
#8B642F #848B2F #568B2F
triadic
#848B2F #2F848B #8B2F84
tetradic
#848B2F #2F8B64 #362F8B #8B2F56
square
#848B2F #2F8B64 #362F8B #8B2F56
split-complementary
#848B2F #2F568B #642F8B
monochromatic
#2D3010 #595D20 #848B2F #AFB93E #C4CC68

Accessibility & contrast

On white

3.67
#848B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#848B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848B2F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848B2F#FFFFFF#000000##000000
##848B2F1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958423
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#8D8378
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #848b2f;
/* rgb */ color: rgb(132, 139, 47);
/* oklch */ color: oklch(61.3% 0.115 113.5);
Tailwind
colors: {
  custom: {
    50: '#aaac6d',
    500: '#848b2f',
    950: '#000000',
  },
}
SCSS
$custom: #848b2f;
$custom-light: #aaac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#848b2f",
  "rgb": {
    "r": 132,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 64.565,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61254,
    "c": 0.1148,
    "h": 113.5
  },
  "luminance": 0.23576
}

Semantic roles & 50–950 ramp

primary
#848B2F
secondary
#6963B3
accent
#4FD959
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #848B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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