#848E20#848E20

#848E20 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 61.8% C 0.128 H 114.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#848E20
RGBrgb(132, 142, 32)
HSLhsl(65, 63%, 34%)
HSVhsv(65, 77%, 56%)
CMYKcmyk(7%, 0%, 77.5%, 44.3%)
CIE-LABlab(56.44, -17.61, 53.08)
CIE-LCHlch(56.44, 55.92, 108.35°)
OKLaboklab(61.85% -0.0539 0.1166)
OKLCHoklch(61.85% 0.128 114.8)
XYZxyz(19.4500, 24.3562, 5.0428)
Luminance0.2436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848E20 #2A208E
analogous
#8E6120 #848E20 #4D8E20
triadic
#848E20 #20848E #8E2084
tetradic
#848E20 #208E61 #2A208E #8E204D
square
#848E20 #208E61 #2A208E #8E204D
split-complementary
#848E20 #204D8E #61208E
monochromatic
#272A09 #565C15 #848E20 #B2C02B #CBD851

Accessibility & contrast

On white

3.58
#848E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#848E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848E20
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848E20#FFFFFF#000000##000000
##848E201.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998704
Deuteranopia (green-blind)
#98882A
Tritanopia (blue-blind)
#8D8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #848e20;
/* rgb */ color: rgb(132, 142, 32);
/* oklch */ color: oklch(61.8% 0.128 114.8);
Tailwind
colors: {
  custom: {
    50: '#abae65',
    500: '#848e20',
    950: '#000000',
  },
}
SCSS
$custom: #848e20;
$custom-light: #abae65;
$custom-dark: #000000;
JSON
{
  "hex": "#848e20",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 65.455,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61848,
    "c": 0.12842,
    "h": 114.8
  },
  "luminance": 0.24356
}

Semantic roles & 50–950 ramp

primary
#848E20
secondary
#594FBB
accent
#42E651
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848E20

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

Preview Lab → · Contrast checker → · Palette generator →

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