#848837#848837

#848837 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.6% C 0.104 H 111.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#848837
RGBrgb(132, 136, 55)
HSLhsl(63, 42%, 37%)
HSVhsv(63, 60%, 53%)
CMYKcmyk(2.9%, 0%, 59.6%, 46.7%)
CIE-LABlab(54.86, -13.01, 42.00)
CIE-LCHlch(54.86, 43.97, 107.21°)
OKLaboklab(60.63% -0.0387 0.0969)
OKLCHoklch(60.63% 0.104 111.7)
XYZxyz(19.0099, 22.7901, 7.0112)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848837 #3B3788
analogous
#886437 #848837 #5C8837
triadic
#848837 #378488 #883784
tetradic
#848837 #378864 #3B3788 #88375C
square
#848837 #378864 #3B3788 #88375C
split-complementary
#848837 #375C88 #643788
monochromatic
#2F3114 #5A5C25 #848837 #AEB449 #C2C673

Accessibility & contrast

On white

3.78
#848837 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#848837 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848837
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848837#FFFFFF#000000##000000
##8488371.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822E
Deuteranopia (green-blind)
#92843C
Tritanopia (blue-blind)
#8C8077
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #848837;
/* rgb */ color: rgb(132, 136, 55);
/* oklch */ color: oklch(60.6% 0.104 111.7);
Tailwind
colors: {
  custom: {
    50: '#aaaa71',
    500: '#848837',
    950: '#000000',
  },
}
SCSS
$custom: #848837;
$custom-light: #aaaa71;
$custom-dark: #000000;
JSON
{
  "hex": "#848837",
  "rgb": {
    "r": 132,
    "g": 136,
    "b": 55
  },
  "hsl": {
    "h": 62.963,
    "s": 42.408,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60632,
    "c": 0.10436,
    "h": 111.7
  },
  "luminance": 0.2279
}

Semantic roles & 50–950 ramp

primary
#848837
secondary
#6F6CAF
accent
#56D25C
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#101008
muted
#7F7F7B

Preview Lab

Preview with #848837

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

Preview Lab → · Contrast checker → · Palette generator →

#848837 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva