#848E2A#848E2A

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

Color values

HEX#848E2A
RGBrgb(132, 142, 42)
HSLhsl(66, 54%, 36%)
HSVhsv(66, 70%, 56%)
CMYKcmyk(7%, 0%, 70.4%, 44.3%)
CIE-LABlab(56.50, -17.09, 49.45)
CIE-LCHlch(56.50, 52.32, 109.06°)
OKLaboklab(61.92% -0.0515 0.1107)
OKLCHoklch(61.92% 0.122 115)
XYZxyz(19.6071, 24.4190, 5.8705)
Luminance0.2442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848E2A #342A8E
analogous
#8E662A #848E2A #528E2A
triadic
#848E2A #2A848E #8E2A84
tetradic
#848E2A #2A8E66 #342A8E #8E2A52
square
#848E2A #2A8E66 #342A8E #8E2A52
split-complementary
#848E2A #2A528E #662A8E
monochromatic
#2C300E #585F1C #848E2A #B0BD38 #C5D162

Accessibility & contrast

On white

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

On black

5.88
#848E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848E2A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848E2A#FFFFFF#000000##000000
##848E2A1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871A
Deuteranopia (green-blind)
#988832
Tritanopia (blue-blind)
#8D867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #848e2a;
/* rgb */ color: rgb(132, 142, 42);
/* oklch */ color: oklch(61.9% 0.122 115.0);
Tailwind
colors: {
  custom: {
    50: '#abae6a',
    500: '#848e2a',
    950: '#000000',
  },
}
SCSS
$custom: #848e2a;
$custom-light: #abae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#848e2a",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 66,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61917,
    "c": 0.1221,
    "h": 115
  },
  "luminance": 0.24419
}

Semantic roles & 50–950 ramp

primary
#848E2A
secondary
#665DB6
accent
#4ADE59
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #848E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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