#848418#848418

#848418 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.5% C 0.122 H 109.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#848418
RGBrgb(132, 132, 24)
HSLhsl(60, 69%, 31%)
HSVhsv(60, 82%, 52%)
CMYKcmyk(0%, 0%, 81.8%, 48.2%)
CIE-LABlab(53.47, -12.65, 52.93)
CIE-LCHlch(53.47, 54.42, 103.44°)
OKLaboklab(59.45% -0.0408 0.1147)
OKLCHoklch(59.45% 0.122 109.6)
XYZxyz(17.9325, 21.4746, 4.0644)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848418 #181884
analogous
#844E18 #848418 #4E8418
triadic
#848418 #188484 #841884
tetradic
#848418 #18844E #181884 #84184E
square
#848418 #18844E #181884 #84184E
split-complementary
#848418 #184E84 #4E1884
monochromatic
#1C1C05 #50500F #848418 #B8B821 #DBDB3B

Accessibility & contrast

On white

3.97
#848418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#848418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848418
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848418#FFFFFF#000000##000000
##8484181.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#918122
Tritanopia (blue-blind)
#8E7B70
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #848418;
/* rgb */ color: rgb(132, 132, 24);
/* oklch */ color: oklch(59.5% 0.122 109.6);
Tailwind
colors: {
  custom: {
    50: '#aba760',
    500: '#848418',
    950: '#000000',
  },
}
SCSS
$custom: #848418;
$custom-light: #aba760;
$custom-dark: #000000;
JSON
{
  "hex": "#848418",
  "rgb": {
    "r": 132,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.59451,
    "c": 0.12176,
    "h": 109.6
  },
  "luminance": 0.21474
}

Semantic roles & 50–950 ramp

primary
#848418
secondary
#4040B8
accent
#3CEC3C
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #848418

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

Preview Lab → · Contrast checker → · Palette generator →

#848418 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva