#848318#848318

#848318 is a mid, vivid yellow. Relative luminance 0.212; OKLCH L 59.2% C 0.121 H 109.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#848318
RGBrgb(132, 131, 24)
HSLhsl(59, 69%, 31%)
HSVhsv(59, 82%, 52%)
CMYKcmyk(0%, 0.8%, 81.8%, 48.2%)
CIE-LABlab(53.17, -12.11, 52.67)
CIE-LCHlch(53.17, 54.04, 102.95°)
OKLaboklab(59.22% -0.0393 0.1142)
OKLCHoklch(59.22% 0.121 109)
XYZxyz(17.7976, 21.2047, 4.0194)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848318 #181984
analogous
#844D18 #848318 #4F8418
triadic
#848318 #188483 #831884
tetradic
#848318 #18844D #181984 #84184F
square
#848318 #18844D #181984 #84184F
split-complementary
#848318 #184F84 #4D1884
monochromatic
#1C1C05 #50500F #848318 #B8B621 #DBDA3B

Accessibility & contrast

On white

4.01
#848318 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#848318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848318
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848318#FFFFFF#000000##000000
##8483181.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#8E7A70
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #848318;
/* rgb */ color: rgb(132, 131, 24);
/* oklch */ color: oklch(59.2% 0.121 109.0);
Tailwind
colors: {
  custom: {
    50: '#aba660',
    500: '#848318',
    950: '#000000',
  },
}
SCSS
$custom: #848318;
$custom-light: #aba660;
$custom-dark: #000000;
JSON
{
  "hex": "#848318",
  "rgb": {
    "r": 132,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 59.444,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.59217,
    "c": 0.12075,
    "h": 109
  },
  "luminance": 0.21204
}

Semantic roles & 50–950 ramp

primary
#848318
secondary
#4041B8
accent
#3DEC3C
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #848318

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

Preview Lab → · Contrast checker → · Palette generator →

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