#848331#848331

#848331 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.4% C 0.104 H 108.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#848331
RGBrgb(132, 131, 49)
HSLhsl(59, 46%, 35%)
HSVhsv(59, 63%, 52%)
CMYKcmyk(0%, 0.8%, 62.9%, 48.2%)
CIE-LABlab(53.34, -10.76, 43.15)
CIE-LCHlch(53.34, 44.47, 104.01°)
OKLaboklab(59.41% -0.033 0.0985)
OKLCHoklch(59.41% 0.104 108.5)
XYZxyz(18.1870, 21.3604, 6.0701)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848331 #313284
analogous
#845931 #848331 #5B8431
triadic
#848331 #318483 #833184
tetradic
#848331 #318459 #313284 #84315B
square
#848331 #318459 #313284 #84315B
split-complementary
#848331 #315B84 #593184
monochromatic
#2B2A10 #575720 #848331 #B1AF42 #C7C668

Accessibility & contrast

On white

3.98
#848331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#848331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848331
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848331#FFFFFF#000000##000000
##8483311.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E27
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#8D7B72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #848331;
/* rgb */ color: rgb(132, 131, 49);
/* oklch */ color: oklch(59.4% 0.104 108.5);
Tailwind
colors: {
  custom: {
    50: '#aaa66d',
    500: '#848331',
    950: '#000000',
  },
}
SCSS
$custom: #848331;
$custom-light: #aaa66d;
$custom-dark: #000000;
JSON
{
  "hex": "#848331",
  "rgb": {
    "r": 132,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 59.277,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59406,
    "c": 0.10391,
    "h": 108.5
  },
  "luminance": 0.2136
}

Semantic roles & 50–950 ramp

primary
#848331
secondary
#6263AE
accent
#54D652
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #848331

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

Preview Lab → · Contrast checker → · Palette generator →

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