#848B1B#848B1B

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

Color values

HEX#848B1B
RGBrgb(132, 139, 27)
HSLhsl(64, 67%, 33%)
HSVhsv(64, 81%, 55%)
CMYKcmyk(5%, 0%, 80.6%, 45.5%)
CIE-LABlab(55.53, -16.25, 53.85)
CIE-LCHlch(55.53, 56.25, 106.79°)
OKLaboklab(61.11% -0.0506 0.1173)
OKLCHoklch(61.11% 0.128 113.3)
XYZxyz(18.9468, 23.4503, 4.5650)
Luminance0.2345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848B1B #221B8B
analogous
#8B5A1B #848B1B #4C8B1B
triadic
#848B1B #1B848B #8B1B84
tetradic
#848B1B #1B8B5A #221B8B #8B1B4C
square
#848B1B #1B8B5A #221B8B #8B1B4C
split-complementary
#848B1B #1B4C8B #5A1B8B
monochromatic
#232507 #535811 #848B1B #B5BE25 #D2DB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848B1B#FFFFFF#000000##000000
##848B1B1.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)
#968400
Deuteranopia (green-blind)
#968626
Tritanopia (blue-blind)
#8D8277
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #848b1b;
/* rgb */ color: rgb(132, 139, 27);
/* oklch */ color: oklch(61.1% 0.128 113.3);
Tailwind
colors: {
  custom: {
    50: '#abac62',
    500: '#848b1b',
    950: '#000000',
  },
}
SCSS
$custom: #848b1b;
$custom-light: #abac62;
$custom-dark: #000000;
JSON
{
  "hex": "#848b1b",
  "rgb": {
    "r": 132,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 63.75,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.6111,
    "c": 0.12772,
    "h": 113.3
  },
  "luminance": 0.2345
}

Semantic roles & 50–950 ramp

primary
#848B1B
secondary
#4D45BC
accent
#3DEA48
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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