#848A18#848A18

#848A18 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.9% C 0.128 H 112.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#848A18
RGBrgb(132, 138, 24)
HSLhsl(63, 70%, 32%)
HSVhsv(63, 83%, 54%)
CMYKcmyk(4.3%, 0%, 82.6%, 45.9%)
CIE-LABlab(55.23, -15.84, 54.47)
CIE-LCHlch(55.23, 56.72, 106.21°)
OKLaboklab(60.86% -0.0497 0.118)
OKLCHoklch(60.86% 0.128 112.8)
XYZxyz(18.7697, 23.1489, 4.3434)
Luminance0.2315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848A18 #1E188A
analogous
#8A5718 #848A18 #4B8A18
triadic
#848A18 #18848A #8A1884
tetradic
#848A18 #188A57 #1E188A #8A184B
square
#848A18 #188A57 #1E188A #8A184B
split-complementary
#848A18 #184B8A #57188A
monochromatic
#202206 #52560F #848A18 #B6BE21 #D5DE3F

Accessibility & contrast

On white

3.73
#848A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#848A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848A18
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848A18#FFFFFF#000000##000000
##848A181.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#8E8176
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #848a18;
/* rgb */ color: rgb(132, 138, 24);
/* oklch */ color: oklch(60.9% 0.128 112.8);
Tailwind
colors: {
  custom: {
    50: '#abab61',
    500: '#848a18',
    950: '#000000',
  },
}
SCSS
$custom: #848a18;
$custom-light: #abab61;
$custom-dark: #000000;
JSON
{
  "hex": "#848a18",
  "rgb": {
    "r": 132,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 63.158,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60859,
    "c": 0.12805,
    "h": 112.8
  },
  "luminance": 0.23148
}

Semantic roles & 50–950 ramp

primary
#848A18
secondary
#4740BD
accent
#3BED44
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #848A18

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

Preview Lab → · Contrast checker → · Palette generator →

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