#848B1A#848B1A

#848B1A 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#848B1A
RGBrgb(132, 139, 26)
HSLhsl(64, 68%, 32%)
HSVhsv(64, 81%, 55%)
CMYKcmyk(5%, 0%, 81.3%, 45.5%)
CIE-LABlab(55.53, -16.29, 54.15)
CIE-LCHlch(55.53, 56.55, 106.74°)
OKLaboklab(61.11% -0.0508 0.1177)
OKLCHoklch(61.11% 0.128 113.3)
XYZxyz(18.9354, 23.4458, 4.5051)
Luminance0.2344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848B1A #211A8B
analogous
#8B5A1A #848B1A #4B8B1A
triadic
#848B1A #1A848B #8B1A84
tetradic
#848B1A #1A8B5A #211A8B #8B1A4B
square
#848B1A #1A8B5A #211A8B #8B1A4B
split-complementary
#848B1A #1A4B8B #5A1A8B
monochromatic
#222407 #535710 #848B1A #B5BF24 #D2DC43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848B1A#FFFFFF#000000##000000
##848B1A1.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)
#968625
Tritanopia (blue-blind)
#8D8276
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #848b1a;
/* rgb */ color: rgb(132, 139, 26);
/* oklch */ color: oklch(61.1% 0.128 113.3);
Tailwind
colors: {
  custom: {
    50: '#abac62',
    500: '#848b1a',
    950: '#000000',
  },
}
SCSS
$custom: #848b1a;
$custom-light: #abac62;
$custom-dark: #000000;
JSON
{
  "hex": "#848b1a",
  "rgb": {
    "r": 132,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 63.717,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61105,
    "c": 0.12821,
    "h": 113.3
  },
  "luminance": 0.23445
}

Semantic roles & 50–950 ramp

primary
#848B1A
secondary
#4B44BD
accent
#3CEB47
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #848B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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