#848C12#848C12

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

Color values

HEX#848C12
RGBrgb(132, 140, 18)
HSLhsl(64, 77%, 31%)
HSVhsv(64, 87%, 55%)
CMYKcmyk(5.7%, 0%, 87.1%, 45.1%)
CIE-LABlab(55.79, -17.08, 56.49)
CIE-LCHlch(55.79, 59.01, 106.82°)
OKLaboklab(61.31% -0.0535 0.1213)
OKLCHoklch(61.31% 0.133 113.8)
XYZxyz(19.0036, 23.7058, 4.1468)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848C12 #1A128C
analogous
#8C5712 #848C12 #478C12
triadic
#848C12 #12848C #8C1284
tetradic
#848C12 #128C57 #1A128C #8C1247
square
#848C12 #128C57 #1A128C #8C1247
split-complementary
#848C12 #12478C #57128C
monochromatic
#1E2004 #51560B #848C12 #B7C219 #D9E534

Accessibility & contrast

On white

3.66
#848C12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#848C12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848C12
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848C12#FFFFFF#000000##000000
##848C121.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #848c12;
/* rgb */ color: rgb(132, 140, 18);
/* oklch */ color: oklch(61.3% 0.133 113.8);
Tailwind
colors: {
  custom: {
    50: '#acad5f',
    500: '#848c12',
    950: '#000000',
  },
}
SCSS
$custom: #848c12;
$custom-light: #acad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#848c12",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 18
  },
  "hsl": {
    "h": 63.934,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.61306,
    "c": 0.13261,
    "h": 113.8
  },
  "luminance": 0.23705
}

Semantic roles & 50–950 ramp

primary
#848C12
secondary
#4239C0
accent
#34F441
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #848C12

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

Preview Lab → · Contrast checker → · Palette generator →

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