#848C20#848C20

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

Color values

HEX#848C20
RGBrgb(132, 140, 32)
HSLhsl(64, 63%, 34%)
HSVhsv(64, 77%, 55%)
CMYKcmyk(5.7%, 0%, 77.1%, 45.1%)
CIE-LABlab(55.85, -16.56, 52.53)
CIE-LCHlch(55.85, 55.08, 107.50°)
OKLaboklab(61.38% -0.051 0.1154)
OKLCHoklch(61.38% 0.126 113.9)
XYZxyz(19.1551, 23.7664, 4.9445)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848C20 #28208C
analogous
#8C5E20 #848C20 #4E8C20
triadic
#848C20 #20848C #8C2084
tetradic
#848C20 #208C5E #28208C #8C204E
square
#848C20 #208C5E #28208C #8C204E
split-complementary
#848C20 #204E8C #5E208C
monochromatic
#262809 #555A15 #848C20 #B3BE2B #CDD750

Accessibility & contrast

On white

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

On black

5.75
#848C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848C20
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848C20#FFFFFF#000000##000000
##848C201.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978506
Deuteranopia (green-blind)
#968729
Tritanopia (blue-blind)
#8D8378
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #848c20;
/* rgb */ color: rgb(132, 140, 32);
/* oklch */ color: oklch(61.4% 0.126 113.9);
Tailwind
colors: {
  custom: {
    50: '#abad65',
    500: '#848c20',
    950: '#000000',
  },
}
SCSS
$custom: #848c20;
$custom-light: #abad65;
$custom-dark: #000000;
JSON
{
  "hex": "#848c20",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 64.444,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61375,
    "c": 0.12617,
    "h": 113.9
  },
  "luminance": 0.23766
}

Semantic roles & 50–950 ramp

primary
#848C20
secondary
#564EBA
accent
#42E64E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848C20

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

Preview Lab → · Contrast checker → · Palette generator →

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