#848E2C#848E2C

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

Color values

HEX#848E2C
RGBrgb(132, 142, 44)
HSLhsl(66, 53%, 36%)
HSVhsv(66, 69%, 56%)
CMYKcmyk(7%, 0%, 69%, 44.3%)
CIE-LABlab(56.52, -16.96, 48.66)
CIE-LCHlch(56.52, 51.53, 109.22°)
OKLaboklab(61.93% -0.051 0.1094)
OKLCHoklch(61.93% 0.121 115)
XYZxyz(19.6438, 24.4337, 6.0637)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848E2C #362C8E
analogous
#8E672C #848E2C #538E2C
triadic
#848E2C #2C848E #8E2C84
tetradic
#848E2C #2C8E67 #362C8E #8E2C53
square
#848E2C #2C8E67 #362C8E #8E2C53
split-complementary
#848E2C #2C538E #672C8E
monochromatic
#2D310F #595F1E #848E2C #AFBD3A #C4CF65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848E2C#FFFFFF#000000##000000
##848E2C1.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)
#98871D
Deuteranopia (green-blind)
#988833
Tritanopia (blue-blind)
#8D867A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #848e2c;
/* rgb */ color: rgb(132, 142, 44);
/* oklch */ color: oklch(61.9% 0.121 115.0);
Tailwind
colors: {
  custom: {
    50: '#aaaf6b',
    500: '#848e2c',
    950: '#000000',
  },
}
SCSS
$custom: #848e2c;
$custom-light: #aaaf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#848e2c",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 66.122,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61934,
    "c": 0.12066,
    "h": 115
  },
  "luminance": 0.24433
}

Semantic roles & 50–950 ramp

primary
#848E2C
secondary
#6960B6
accent
#4CDC5A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #848E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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