#848E15#848E15

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

Color values

HEX#848E15
RGBrgb(132, 142, 21)
HSLhsl(65, 74%, 32%)
HSVhsv(65, 85%, 56%)
CMYKcmyk(7%, 0%, 85.2%, 44.3%)
CIE-LABlab(56.39, -18.03, 56.27)
CIE-LCHlch(56.39, 59.09, 107.76°)
OKLaboklab(61.79% -0.0559 0.1214)
OKLCHoklch(61.79% 0.134 114.7)
XYZxyz(19.3247, 24.3060, 4.3829)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848E15 #1F158E
analogous
#8E5C15 #848E15 #478E15
triadic
#848E15 #15848E #8E1584
tetradic
#848E15 #158E5C #1F158E #8E1547
square
#848E15 #158E5C #1F158E #8E1547
split-complementary
#848E15 #15478E #5C158E
monochromatic
#212305 #52590D #848E15 #B6C31D #D4E23B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848E15#FFFFFF#000000##000000
##848E151.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)
#988822
Tritanopia (blue-blind)
#8D8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #848e15;
/* rgb */ color: rgb(132, 142, 21);
/* oklch */ color: oklch(61.8% 0.134 114.7);
Tailwind
colors: {
  custom: {
    50: '#abae61',
    500: '#848e15',
    950: '#000000',
  },
}
SCSS
$custom: #848e15;
$custom-light: #abae61;
$custom-dark: #000000;
JSON
{
  "hex": "#848e15",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 64.959,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61792,
    "c": 0.13365,
    "h": 114.7
  },
  "luminance": 0.24306
}

Semantic roles & 50–950 ramp

primary
#848E15
secondary
#483DC2
accent
#37F146
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #848E15

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

Preview Lab → · Contrast checker → · Palette generator →

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