#848C1A#848C1A

#848C1A 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#848C1A
RGBrgb(132, 140, 26)
HSLhsl(64, 69%, 33%)
HSVhsv(64, 81%, 55%)
CMYKcmyk(5.7%, 0%, 81.4%, 45.1%)
CIE-LABlab(55.82, -16.81, 54.41)
CIE-LCHlch(55.82, 56.95, 107.17°)
OKLaboklab(61.34% -0.0522 0.1183)
OKLCHoklch(61.34% 0.129 113.8)
XYZxyz(19.0809, 23.7367, 4.5536)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848C1A #221A8C
analogous
#8C5B1A #848C1A #4B8C1A
triadic
#848C1A #1A848C #8C1A84
tetradic
#848C1A #1A8C5B #221A8C #8C1A4B
square
#848C1A #1A8C5B #221A8C #8C1A4B
split-complementary
#848C1A #1A4B8C #5B1A8C
monochromatic
#232507 #535810 #848C1A #B5C024 #D2DC44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848C1A#FFFFFF#000000##000000
##848C1A1.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)
#978725
Tritanopia (blue-blind)
#8D8377
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #848c1a;
/* rgb */ color: rgb(132, 140, 26);
/* oklch */ color: oklch(61.3% 0.129 113.8);
Tailwind
colors: {
  custom: {
    50: '#abad62',
    500: '#848c1a',
    950: '#000000',
  },
}
SCSS
$custom: #848c1a;
$custom-light: #abad62;
$custom-dark: #000000;
JSON
{
  "hex": "#848c1a",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 64.211,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61341,
    "c": 0.12929,
    "h": 113.8
  },
  "luminance": 0.23736
}

Semantic roles & 50–950 ramp

primary
#848C1A
secondary
#4D44BE
accent
#3CEC49
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #848C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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