#848C1F#848C1F

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

Color values

HEX#848C1F
RGBrgb(132, 140, 31)
HSLhsl(64, 64%, 34%)
HSVhsv(64, 78%, 55%)
CMYKcmyk(5.7%, 0%, 77.9%, 45.1%)
CIE-LABlab(55.85, -16.61, 52.86)
CIE-LCHlch(55.85, 55.41, 107.44°)
OKLaboklab(61.37% -0.0512 0.1159)
OKLCHoklch(61.37% 0.127 113.9)
XYZxyz(19.1417, 23.7610, 4.8740)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848C1F #271F8C
analogous
#8C5D1F #848C1F #4D8C1F
triadic
#848C1F #1F848C #8C1F84
tetradic
#848C1F #1F8C5D #271F8C #8C1F4D
square
#848C1F #1F8C5D #271F8C #8C1F4D
split-complementary
#848C1F #1F4D8C #5D1F8C
monochromatic
#262809 #555A14 #848C1F #B3BE2A #CED84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848C1F#FFFFFF#000000##000000
##848C1F1.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)
#978503
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#8D8378
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #848c1f;
/* rgb */ color: rgb(132, 140, 31);
/* oklch */ color: oklch(61.4% 0.127 113.9);
Tailwind
colors: {
  custom: {
    50: '#abad64',
    500: '#848c1f',
    950: '#000000',
  },
}
SCSS
$custom: #848c1f;
$custom-light: #abad64;
$custom-dark: #000000;
JSON
{
  "hex": "#848c1f",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 64.404,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61369,
    "c": 0.12673,
    "h": 113.9
  },
  "luminance": 0.23761
}

Semantic roles & 50–950 ramp

primary
#848C1F
secondary
#544CBB
accent
#41E74D
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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