#848C17#848C17

#848C17 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#848C17
RGBrgb(132, 140, 23)
HSLhsl(64, 72%, 32%)
HSVhsv(64, 84%, 55%)
CMYKcmyk(5.7%, 0%, 83.6%, 45.1%)
CIE-LABlab(55.81, -16.92, 55.25)
CIE-LCHlch(55.81, 57.78, 107.03°)
OKLaboklab(61.33% -0.0527 0.1195)
OKLCHoklch(61.33% 0.131 113.8)
XYZxyz(19.0491, 23.7240, 4.3862)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848C17 #1F178C
analogous
#8C5A17 #848C17 #498C17
triadic
#848C17 #17848C #8C1784
tetradic
#848C17 #178C5A #1F178C #8C1749
square
#848C17 #178C5A #1F178C #8C1749
split-complementary
#848C17 #17498C #5A178C
monochromatic
#212306 #52570E #848C17 #B6C120 #D4DF3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #848c17;
/* rgb */ color: rgb(132, 140, 23);
/* oklch */ color: oklch(61.3% 0.131 113.8);
Tailwind
colors: {
  custom: {
    50: '#abad61',
    500: '#848c17',
    950: '#000000',
  },
}
SCSS
$custom: #848c17;
$custom-light: #abad61;
$custom-dark: #000000;
JSON
{
  "hex": "#848c17",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 64.103,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61327,
    "c": 0.13065,
    "h": 113.8
  },
  "luminance": 0.23724
}

Semantic roles & 50–950 ramp

primary
#848C17
secondary
#483FBF
accent
#39EF46
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #848C17

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

Preview Lab → · Contrast checker → · Palette generator →

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