#848918#848918

#848918 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.6% C 0.127 H 112.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#848918
RGBrgb(132, 137, 24)
HSLhsl(63, 70%, 32%)
HSVhsv(63, 82%, 54%)
CMYKcmyk(3.6%, 0%, 82.5%, 46.3%)
CIE-LABlab(54.93, -15.31, 54.21)
CIE-LCHlch(54.93, 56.33, 105.77°)
OKLaboklab(60.62% -0.0482 0.1175)
OKLCHoklch(60.62% 0.127 112.3)
XYZxyz(18.6269, 22.8633, 4.2958)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848918 #1D1889
analogous
#895618 #848918 #4C8918
triadic
#848918 #188489 #891884
tetradic
#848918 #188956 #1D1889 #89184C
square
#848918 #188956 #1D1889 #89184C
split-complementary
#848918 #184C89 #561889
monochromatic
#202106 #52550F #848918 #B6BD21 #D6DD3E

Accessibility & contrast

On white

3.77
#848918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#848918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848918
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848918#FFFFFF#000000##000000
##8489181.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#948523
Tritanopia (blue-blind)
#8E8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #848918;
/* rgb */ color: rgb(132, 137, 24);
/* oklch */ color: oklch(60.6% 0.127 112.3);
Tailwind
colors: {
  custom: {
    50: '#abab61',
    500: '#848918',
    950: '#000000',
  },
}
SCSS
$custom: #848918;
$custom-light: #abab61;
$custom-dark: #000000;
JSON
{
  "hex": "#848918",
  "rgb": {
    "r": 132,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 62.655,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60624,
    "c": 0.12698,
    "h": 112.3
  },
  "luminance": 0.22863
}

Semantic roles & 50–950 ramp

primary
#848918
secondary
#4640BD
accent
#3BED43
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #848918

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

Preview Lab → · Contrast checker → · Palette generator →

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