#848751#848751

#848751 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.075 H 111.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#848751
RGBrgb(132, 135, 81)
HSLhsl(63, 25%, 42%)
HSVhsv(63, 40%, 53%)
CMYKcmyk(2.2%, 0%, 40%, 47.1%)
CIE-LABlab(54.89, -9.85, 28.65)
CIE-LCHlch(54.89, 30.30, 108.98°)
OKLaboklab(60.77% -0.0271 0.0699)
OKLCHoklch(60.77% 0.075 111.2)
XYZxyz(19.6651, 22.8279, 11.1533)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848751 #545187
analogous
#876F51 #848751 #698751
triadic
#848751 #518487 #875184
tetradic
#848751 #51876F #545187 #875169
square
#848751 #51876F #545187 #875169
split-complementary
#848751 #516987 #6F5187
monochromatic
#393B23 #5F613A #848751 #A4A86E #BCBF94

Accessibility & contrast

On white

3.77
#848751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#848751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848751
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848751#FFFFFF#000000##000000
##8487511.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F824D
Deuteranopia (green-blind)
#8F8453
Tritanopia (blue-blind)
#8B817A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #848751;
/* rgb */ color: rgb(132, 135, 81);
/* oklch */ color: oklch(60.8% 0.075 111.2);
Tailwind
colors: {
  custom: {
    50: '#a9a982',
    500: '#848751',
    950: '#000000',
  },
}
SCSS
$custom: #848751;
$custom-light: #a9a982;
$custom-dark: #000000;
JSON
{
  "hex": "#848751",
  "rgb": {
    "r": 132,
    "g": 135,
    "b": 81
  },
  "hsl": {
    "h": 63.333,
    "s": 25,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6077,
    "c": 0.07498,
    "h": 111.2
  },
  "luminance": 0.22828
}

Semantic roles & 50–950 ramp

primary
#848751
secondary
#8A88AC
accent
#66C16B
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #848751

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

Preview Lab → · Contrast checker → · Palette generator →

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