#848C1B#848C1B

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

Color values

HEX#848C1B
RGBrgb(132, 140, 27)
HSLhsl(64, 68%, 33%)
HSVhsv(64, 81%, 55%)
CMYKcmyk(5.7%, 0%, 80.7%, 45.1%)
CIE-LABlab(55.83, -16.78, 54.12)
CIE-LCHlch(55.83, 56.66, 107.22°)
OKLaboklab(61.35% -0.052 0.1178)
OKLCHoklch(61.35% 0.129 113.8)
XYZxyz(19.0922, 23.7412, 4.6135)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848C1B #231B8C
analogous
#8C5C1B #848C1B #4B8C1B
triadic
#848C1B #1B848C #8C1B84
tetradic
#848C1B #1B8C5C #231B8C #8C1B4B
square
#848C1B #1B8C5C #231B8C #8C1B4B
split-complementary
#848C1B #1B4B8C #5C1B8C
monochromatic
#232507 #545911 #848C1B #B4BF25 #D1DB46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848C1B#FFFFFF#000000##000000
##848C1B1.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: #848c1b;
/* rgb */ color: rgb(132, 140, 27);
/* oklch */ color: oklch(61.3% 0.129 113.8);
Tailwind
colors: {
  custom: {
    50: '#abad63',
    500: '#848c1b',
    950: '#000000',
  },
}
SCSS
$custom: #848c1b;
$custom-light: #abad63;
$custom-dark: #000000;
JSON
{
  "hex": "#848c1b",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 64.248,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61346,
    "c": 0.12881,
    "h": 113.8
  },
  "luminance": 0.23741
}

Semantic roles & 50–950 ramp

primary
#848C1B
secondary
#4E46BD
accent
#3DEB4A
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #848C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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