#848731#848731

#848731 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.3% C 0.108 H 111.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#848731
RGBrgb(132, 135, 49)
HSLhsl(62, 47%, 36%)
HSVhsv(62, 64%, 53%)
CMYKcmyk(2.2%, 0%, 63.7%, 47.1%)
CIE-LABlab(54.51, -12.92, 44.40)
CIE-LCHlch(54.51, 46.25, 106.23°)
OKLaboklab(60.34% -0.0391 0.1012)
OKLCHoklch(60.34% 0.108 111.1)
XYZxyz(18.7346, 22.4557, 6.2526)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848731 #343187
analogous
#875F31 #848731 #598731
triadic
#848731 #318487 #873184
tetradic
#848731 #31875F #343187 #873159
square
#848731 #31875F #343187 #873159
split-complementary
#848731 #315987 #5F3187
monochromatic
#2C2D10 #585A21 #848731 #B0B441 #C5C96A

Accessibility & contrast

On white

3.82
#848731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#848731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848731
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848731#FFFFFF#000000##000000
##8487311.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#928436
Tritanopia (blue-blind)
#8D7F75
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #848731;
/* rgb */ color: rgb(132, 135, 49);
/* oklch */ color: oklch(60.3% 0.108 111.1);
Tailwind
colors: {
  custom: {
    50: '#aaa96d',
    500: '#848731',
    950: '#000000',
  },
}
SCSS
$custom: #848731;
$custom-light: #aaa96d;
$custom-dark: #000000;
JSON
{
  "hex": "#848731",
  "rgb": {
    "r": 132,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 62.093,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60336,
    "c": 0.10848,
    "h": 111.1
  },
  "luminance": 0.22455
}

Semantic roles & 50–950 ramp

primary
#848731
secondary
#6664B0
accent
#51D656
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #848731

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

Preview Lab → · Contrast checker → · Palette generator →

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