#848C15#848C15

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

Color values

HEX#848C15
RGBrgb(132, 140, 21)
HSLhsl(64, 74%, 32%)
HSVhsv(64, 85%, 55%)
CMYKcmyk(5.7%, 0%, 85%, 45.1%)
CIE-LABlab(55.80, -16.99, 55.77)
CIE-LCHlch(55.80, 58.30, 106.94°)
OKLaboklab(61.32% -0.0531 0.1203)
OKLCHoklch(61.32% 0.131 113.8)
XYZxyz(19.0298, 23.7163, 4.2846)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848C15 #1D158C
analogous
#8C5915 #848C15 #498C15
triadic
#848C15 #15848C #8C1584
tetradic
#848C15 #158C59 #1D158C #8C1549
square
#848C15 #158C59 #1D158C #8C1549
split-complementary
#848C15 #15498C #59158C
monochromatic
#202205 #52570D #848C15 #B6C11D #D6E13A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #848c15;
/* rgb */ color: rgb(132, 140, 21);
/* oklch */ color: oklch(61.3% 0.131 113.8);
Tailwind
colors: {
  custom: {
    50: '#abad60',
    500: '#848c15',
    950: '#000000',
  },
}
SCSS
$custom: #848c15;
$custom-light: #abad60;
$custom-dark: #000000;
JSON
{
  "hex": "#848c15",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 21
  },
  "hsl": {
    "h": 64.034,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61318,
    "c": 0.13147,
    "h": 113.8
  },
  "luminance": 0.23716
}

Semantic roles & 50–950 ramp

primary
#848C15
secondary
#463DC0
accent
#37F144
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #848C15

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

Preview Lab → · Contrast checker → · Palette generator →

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