#848E17#848E17

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

Color values

HEX#848E17
RGBrgb(132, 142, 23)
HSLhsl(65, 72%, 32%)
HSVhsv(65, 84%, 56%)
CMYKcmyk(7%, 0%, 83.8%, 44.3%)
CIE-LABlab(56.40, -17.96, 55.76)
CIE-LCHlch(56.40, 58.58, 107.86°)
OKLaboklab(61.8% -0.0556 0.1206)
OKLCHoklch(61.8% 0.133 114.8)
XYZxyz(19.3440, 24.3138, 4.4845)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848E17 #21178E
analogous
#8E5D17 #848E17 #498E17
triadic
#848E17 #17848E #8E1784
tetradic
#848E17 #178E5D #21178E #8E1749
square
#848E17 #178E5D #21178E #8E1749
split-complementary
#848E17 #17498E #5D178E
monochromatic
#222506 #53590E #848E17 #B5C320 #D2E03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848E17#FFFFFF#000000##000000
##848E171.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: #848e17;
/* rgb */ color: rgb(132, 142, 23);
/* oklch */ color: oklch(61.8% 0.133 114.8);
Tailwind
colors: {
  custom: {
    50: '#abae61',
    500: '#848e17',
    950: '#000000',
  },
}
SCSS
$custom: #848e17;
$custom-light: #abae61;
$custom-dark: #000000;
JSON
{
  "hex": "#848e17",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 65.042,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.618,
    "c": 0.13283,
    "h": 114.8
  },
  "luminance": 0.24313
}

Semantic roles & 50–950 ramp

primary
#848E17
secondary
#4B40C0
accent
#39EF48
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #848E17

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

Preview Lab → · Contrast checker → · Palette generator →

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