#848E16#848E16

#848E16 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.8% C 0.133 H 114.7°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#848E16
RGBrgb(132, 142, 22)
HSLhsl(65, 73%, 32%)
HSVhsv(65, 85%, 56%)
CMYKcmyk(7%, 0%, 84.5%, 44.3%)
CIE-LABlab(56.40, -18.00, 56.02)
CIE-LCHlch(56.40, 58.84, 107.81°)
OKLaboklab(61.8% -0.0558 0.121)
OKLCHoklch(61.8% 0.133 114.7)
XYZxyz(19.3341, 24.3098, 4.4327)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848E16 #20168E
analogous
#8E5C16 #848E16 #488E16
triadic
#848E16 #16848E #8E1684
tetradic
#848E16 #168E5C #20168E #8E1648
square
#848E16 #168E5C #20168E #8E1648
split-complementary
#848E16 #16488E #5C168E
monochromatic
#212406 #53590E #848E16 #B5C31E #D3E13D

Accessibility & contrast

On white

3.58
#848E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#848E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848E16
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848E16#FFFFFF#000000##000000
##848E161.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#988823
Tritanopia (blue-blind)
#8D8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #848e16;
/* rgb */ color: rgb(132, 142, 22);
/* oklch */ color: oklch(61.8% 0.133 114.7);
Tailwind
colors: {
  custom: {
    50: '#abae61',
    500: '#848e16',
    950: '#000000',
  },
}
SCSS
$custom: #848e16;
$custom-light: #abae61;
$custom-dark: #000000;
JSON
{
  "hex": "#848e16",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 65,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61796,
    "c": 0.13325,
    "h": 114.7
  },
  "luminance": 0.24309
}

Semantic roles & 50–950 ramp

primary
#848E16
secondary
#4A3FC1
accent
#38F047
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #848E16

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

Preview Lab → · Contrast checker → · Palette generator →

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