#848C23#848C23

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

Color values

HEX#848C23
RGBrgb(132, 140, 35)
HSLhsl(65, 60%, 34%)
HSVhsv(65, 75%, 55%)
CMYKcmyk(5.7%, 0%, 75%, 45.1%)
CIE-LABlab(55.87, -16.42, 51.50)
CIE-LCHlch(55.87, 54.05, 107.69°)
OKLaboklab(61.39% -0.0504 0.1138)
OKLCHoklch(61.39% 0.124 113.9)
XYZxyz(19.1977, 23.7834, 5.1691)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848C23 #2B238C
analogous
#8C6023 #848C23 #508C23
triadic
#848C23 #23848C #8C2384
tetradic
#848C23 #238C60 #2B238C #8C2350
square
#848C23 #238C60 #2B238C #8C2350
split-complementary
#848C23 #23508C #60238C
monochromatic
#282A0B #565B17 #848C23 #B2BD2F #CBD455

Accessibility & contrast

On white

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

On black

5.76
#848C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848C23
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848C23#FFFFFF#000000##000000
##848C231.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850D
Deuteranopia (green-blind)
#96872C
Tritanopia (blue-blind)
#8D8378
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #848c23;
/* rgb */ color: rgb(132, 140, 35);
/* oklch */ color: oklch(61.4% 0.124 113.9);
Tailwind
colors: {
  custom: {
    50: '#abad66',
    500: '#848c23',
    950: '#000000',
  },
}
SCSS
$custom: #848c23;
$custom-light: #abad66;
$custom-dark: #000000;
JSON
{
  "hex": "#848c23",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 64.571,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61394,
    "c": 0.1244,
    "h": 113.9
  },
  "luminance": 0.23783
}

Semantic roles & 50–950 ramp

primary
#848C23
secondary
#5A52B8
accent
#45E351
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848C23

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

Preview Lab → · Contrast checker → · Palette generator →

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