#848A20#848A20

#848A20 is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 60.9% C 0.124 H 112.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#848A20
RGBrgb(132, 138, 32)
HSLhsl(63, 62%, 33%)
HSVhsv(63, 77%, 54%)
CMYKcmyk(4.3%, 0%, 76.8%, 45.9%)
CIE-LABlab(55.26, -15.51, 51.98)
CIE-LCHlch(55.26, 54.25, 106.62°)
OKLaboklab(60.9% -0.0481 0.1142)
OKLCHoklch(60.9% 0.124 112.8)
XYZxyz(18.8655, 23.1872, 4.8480)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848A20 #26208A
analogous
#8A5B20 #848A20 #4F8A20
triadic
#848A20 #20848A #8A2084
tetradic
#848A20 #208A5B #26208A #8A204F
square
#848A20 #208A5B #26208A #8A204F
split-complementary
#848A20 #204F8A #5B208A
monochromatic
#252709 #545814 #848A20 #B4BC2C #CED64E

Accessibility & contrast

On white

3.73
#848A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#848A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848A20
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848A20#FFFFFF#000000##000000
##848A201.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958307
Deuteranopia (green-blind)
#958529
Tritanopia (blue-blind)
#8D8176
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #848a20;
/* rgb */ color: rgb(132, 138, 32);
/* oklch */ color: oklch(60.9% 0.124 112.8);
Tailwind
colors: {
  custom: {
    50: '#abac65',
    500: '#848a20',
    950: '#000000',
  },
}
SCSS
$custom: #848a20;
$custom-light: #abac65;
$custom-dark: #000000;
JSON
{
  "hex": "#848a20",
  "rgb": {
    "r": 132,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 63.396,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60903,
    "c": 0.12395,
    "h": 112.8
  },
  "luminance": 0.23187
}

Semantic roles & 50–950 ramp

primary
#848A20
secondary
#534DB9
accent
#42E54C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848A20

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

Preview Lab → · Contrast checker → · Palette generator →

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