#848B16#848B16

#848B16 is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.1% C 0.130 H 113.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#848B16
RGBrgb(132, 139, 22)
HSLhsl(64, 73%, 32%)
HSVhsv(64, 84%, 55%)
CMYKcmyk(5%, 0%, 84.2%, 45.5%)
CIE-LABlab(55.51, -16.43, 55.26)
CIE-LCHlch(55.51, 57.65, 106.56°)
OKLaboklab(61.09% -0.0515 0.1194)
OKLCHoklch(61.09% 0.13 113.3)
XYZxyz(18.8938, 23.4291, 4.2859)
Luminance0.2343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848B16 #1D168B
analogous
#8B5816 #848B16 #4A8B16
triadic
#848B16 #16848B #8B1684
tetradic
#848B16 #168B58 #1D168B #8B164A
square
#848B16 #168B58 #1D168B #8B164A
split-complementary
#848B16 #164A8B #58168B
monochromatic
#202105 #52560E #848B16 #B6C01E #D6E03B

Accessibility & contrast

On white

3.69
#848B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#848B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848B16
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848B16#FFFFFF#000000##000000
##848B161.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#968622
Tritanopia (blue-blind)
#8E8276
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #848b16;
/* rgb */ color: rgb(132, 139, 22);
/* oklch */ color: oklch(61.1% 0.130 113.3);
Tailwind
colors: {
  custom: {
    50: '#abac61',
    500: '#848b16',
    950: '#000000',
  },
}
SCSS
$custom: #848b16;
$custom-light: #abac61;
$custom-dark: #000000;
JSON
{
  "hex": "#848b16",
  "rgb": {
    "r": 132,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 63.59,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61086,
    "c": 0.12999,
    "h": 113.3
  },
  "luminance": 0.23429
}

Semantic roles & 50–950 ramp

primary
#848B16
secondary
#463EBF
accent
#38EF43
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #848B16

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

Preview Lab → · Contrast checker → · Palette generator →

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