#848018#848018

#848018 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.5% C 0.118 H 107.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#848018
RGBrgb(132, 128, 24)
HSLhsl(58, 69%, 31%)
HSVhsv(58, 82%, 52%)
CMYKcmyk(0%, 3%, 81.8%, 48.2%)
CIE-LABlab(52.30, -10.48, 51.90)
CIE-LCHlch(52.30, 52.95, 101.42°)
OKLaboklab(58.52% -0.0348 0.1125)
OKLCHoklch(58.52% 0.118 107.2)
XYZxyz(17.4005, 20.4105, 3.8870)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848018 #181C84
analogous
#844A18 #848018 #528418
triadic
#848018 #188480 #801884
tetradic
#848018 #18844A #181C84 #841852
square
#848018 #18844A #181C84 #841852
split-complementary
#848018 #185284 #4A1884
monochromatic
#1C1C05 #504E0F #848018 #B8B221 #DBD53B

Accessibility & contrast

On white

4.13
#848018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#848018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848018
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848018#FFFFFF#000000##000000
##8480181.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8E7E21
Tritanopia (blue-blind)
#8E776D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #848018;
/* rgb */ color: rgb(132, 128, 24);
/* oklch */ color: oklch(58.5% 0.118 107.2);
Tailwind
colors: {
  custom: {
    50: '#aba460',
    500: '#848018',
    950: '#000000',
  },
}
SCSS
$custom: #848018;
$custom-light: #aba460;
$custom-dark: #000000;
JSON
{
  "hex": "#848018",
  "rgb": {
    "r": 132,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 57.778,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58519,
    "c": 0.11777,
    "h": 107.2
  },
  "luminance": 0.2041
}

Semantic roles & 50–950 ramp

primary
#848018
secondary
#4044B8
accent
#42EC3C
background
#FAFAF5
surface
#F5F4EA
border
#CFCEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #848018

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

Preview Lab → · Contrast checker → · Palette generator →

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