#848C22#848C22

#848C22 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.4% C 0.125 H 113.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#848C22
RGBrgb(132, 140, 34)
HSLhsl(65, 61%, 34%)
HSVhsv(65, 76%, 55%)
CMYKcmyk(5.7%, 0%, 75.7%, 45.1%)
CIE-LABlab(55.86, -16.47, 51.85)
CIE-LCHlch(55.86, 54.40, 107.62°)
OKLaboklab(61.39% -0.0506 0.1143)
OKLCHoklch(61.39% 0.125 113.9)
XYZxyz(19.1831, 23.7776, 5.0921)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848C22 #2A228C
analogous
#8C5F22 #848C22 #4F8C22
triadic
#848C22 #22848C #8C2284
tetradic
#848C22 #228C5F #2A228C #8C224F
square
#848C22 #228C5F #2A228C #8C224F
split-complementary
#848C22 #224F8C #5F228C
monochromatic
#272A0A #565B16 #848C22 #B2BD2E #CBD553

Accessibility & contrast

On white

3.65
#848C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#848C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848C22
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848C22#FFFFFF#000000##000000
##848C221.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850B
Deuteranopia (green-blind)
#96872B
Tritanopia (blue-blind)
#8D8378
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #848c22;
/* rgb */ color: rgb(132, 140, 34);
/* oklch */ color: oklch(61.4% 0.125 113.9);
Tailwind
colors: {
  custom: {
    50: '#abad66',
    500: '#848c22',
    950: '#000000',
  },
}
SCSS
$custom: #848c22;
$custom-light: #abad66;
$custom-dark: #000000;
JSON
{
  "hex": "#848c22",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 64.528,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61387,
    "c": 0.125,
    "h": 113.9
  },
  "luminance": 0.23777
}

Semantic roles & 50–950 ramp

primary
#848C22
secondary
#5951B9
accent
#44E450
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848C22

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

Preview Lab → · Contrast checker → · Palette generator →

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