#848E2D#848E2D

#848E2D is a mid, moderate yellow. Relative luminance 0.244; OKLCH L 61.9% C 0.120 H 115.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#848E2D
RGBrgb(132, 142, 45)
HSLhsl(66, 52%, 37%)
HSVhsv(66, 68%, 56%)
CMYKcmyk(7%, 0%, 68.3%, 44.3%)
CIE-LABlab(56.53, -16.90, 48.25)
CIE-LCHlch(56.53, 51.13, 109.30°)
OKLaboklab(61.94% -0.0507 0.1087)
OKLCHoklch(61.94% 0.12 115)
XYZxyz(19.6629, 24.4413, 6.1639)
Luminance0.2444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848E2D #372D8E
analogous
#8E682D #848E2D #538E2D
triadic
#848E2D #2D848E #8E2D84
tetradic
#848E2D #2D8E68 #372D8E #8E2D53
square
#848E2D #2D8E68 #372D8E #8E2D53
split-complementary
#848E2D #2D538E #682D8E
monochromatic
#2E3110 #59601E #848E2D #AFBC3C #C4CF67

Accessibility & contrast

On white

3.57
#848E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#848E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848E2D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848E2D#FFFFFF#000000##000000
##848E2D1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871F
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#8C867A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #848e2d;
/* rgb */ color: rgb(132, 142, 45);
/* oklch */ color: oklch(61.9% 0.120 115.0);
Tailwind
colors: {
  custom: {
    50: '#aaaf6c',
    500: '#848e2d',
    950: '#000000',
  },
}
SCSS
$custom: #848e2d;
$custom-light: #aaaf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#848e2d",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 66.186,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61942,
    "c": 0.11992,
    "h": 115
  },
  "luminance": 0.24441
}

Semantic roles & 50–950 ramp

primary
#848E2D
secondary
#6A61B5
accent
#4CDB5B
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #848E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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