#848B20#848B20

#848B20 is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.1% C 0.125 H 113.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#848B20
RGBrgb(132, 139, 32)
HSLhsl(64, 63%, 34%)
HSVhsv(64, 77%, 55%)
CMYKcmyk(5%, 0%, 77%, 45.5%)
CIE-LABlab(55.56, -16.04, 52.26)
CIE-LCHlch(55.56, 54.66, 107.06°)
OKLaboklab(61.14% -0.0496 0.1148)
OKLCHoklch(61.14% 0.125 113.4)
XYZxyz(19.0096, 23.4755, 4.8960)
Luminance0.2347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848B20 #27208B
analogous
#8B5C20 #848B20 #4E8B20
triadic
#848B20 #20848B #8B2084
tetradic
#848B20 #208B5C #27208B #8B204E
square
#848B20 #208B5C #27208B #8B204E
split-complementary
#848B20 #204E8B #5C208B
monochromatic
#262809 #555915 #848B20 #B3BD2B #CED64F

Accessibility & contrast

On white

3.69
#848B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#848B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848B20
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848B20#FFFFFF#000000##000000
##848B201.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968406
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#8D8277
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #848b20;
/* rgb */ color: rgb(132, 139, 32);
/* oklch */ color: oklch(61.1% 0.125 113.4);
Tailwind
colors: {
  custom: {
    50: '#abac65',
    500: '#848b20',
    950: '#000000',
  },
}
SCSS
$custom: #848b20;
$custom-light: #abac65;
$custom-dark: #000000;
JSON
{
  "hex": "#848b20",
  "rgb": {
    "r": 132,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 63.925,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61139,
    "c": 0.12506,
    "h": 113.4
  },
  "luminance": 0.23475
}

Semantic roles & 50–950 ramp

primary
#848B20
secondary
#544DBA
accent
#42E64D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848B20

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

Preview Lab → · Contrast checker → · Palette generator →

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