#848C1C#848C1C

#848C1C is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.4% C 0.128 H 113.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#848C1C
RGBrgb(132, 140, 28)
HSLhsl(64, 67%, 33%)
HSVhsv(64, 80%, 55%)
CMYKcmyk(5.7%, 0%, 80%, 45.1%)
CIE-LABlab(55.83, -16.74, 53.81)
CIE-LCHlch(55.83, 56.36, 107.28°)
OKLaboklab(61.35% -0.0518 0.1174)
OKLCHoklch(61.35% 0.128 113.8)
XYZxyz(19.1040, 23.7459, 4.6754)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848C1C #241C8C
analogous
#8C5C1C #848C1C #4C8C1C
triadic
#848C1C #1C848C #8C1C84
tetradic
#848C1C #1C8C5C #241C8C #8C1C4C
square
#848C1C #1C8C5C #241C8C #8C1C4C
split-complementary
#848C1C #1C4C8C #5C1C8C
monochromatic
#242608 #545912 #848C1C #B4BF26 #D0DA48

Accessibility & contrast

On white

3.65
#848C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#848C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848C1C
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848C1C#FFFFFF#000000##000000
##848C1C1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#978726
Tritanopia (blue-blind)
#8D8377
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #848c1c;
/* rgb */ color: rgb(132, 140, 28);
/* oklch */ color: oklch(61.4% 0.128 113.8);
Tailwind
colors: {
  custom: {
    50: '#abad63',
    500: '#848c1c',
    950: '#000000',
  },
}
SCSS
$custom: #848c1c;
$custom-light: #abad63;
$custom-dark: #000000;
JSON
{
  "hex": "#848c1c",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 64.286,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61352,
    "c": 0.12831,
    "h": 113.8
  },
  "luminance": 0.23746
}

Semantic roles & 50–950 ramp

primary
#848C1C
secondary
#5048BC
accent
#3EEA4A
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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