#848E18#848E18

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

Color values

HEX#848E18
RGBrgb(132, 142, 24)
HSLhsl(65, 71%, 33%)
HSVhsv(65, 83%, 56%)
CMYKcmyk(7%, 0%, 83.1%, 44.3%)
CIE-LABlab(56.40, -17.93, 55.49)
CIE-LCHlch(56.40, 58.32, 107.91°)
OKLaboklab(61.81% -0.0554 0.1202)
OKLCHoklch(61.81% 0.132 114.8)
XYZxyz(19.3542, 24.3178, 4.5382)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848E18 #22188E
analogous
#8E5D18 #848E18 #498E18
triadic
#848E18 #18848E #8E1884
tetradic
#848E18 #188E5D #22188E #8E1849
square
#848E18 #188E5D #22188E #8E1849
split-complementary
#848E18 #18498E #5D188E
monochromatic
#232506 #535A0F #848E18 #B5C221 #D2DF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #848e18;
/* rgb */ color: rgb(132, 142, 24);
/* oklch */ color: oklch(61.8% 0.132 114.8);
Tailwind
colors: {
  custom: {
    50: '#abae62',
    500: '#848e18',
    950: '#000000',
  },
}
SCSS
$custom: #848e18;
$custom-light: #abae62;
$custom-dark: #000000;
JSON
{
  "hex": "#848e18",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 65.085,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61805,
    "c": 0.1324,
    "h": 114.8
  },
  "luminance": 0.24317
}

Semantic roles & 50–950 ramp

primary
#848E18
secondary
#4D42C0
accent
#3AEE49
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #848E18

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

Preview Lab → · Contrast checker → · Palette generator →

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