#848915#848915

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

Color values

HEX#848915
RGBrgb(132, 137, 21)
HSLhsl(63, 73%, 31%)
HSVhsv(63, 85%, 54%)
CMYKcmyk(3.6%, 0%, 84.7%, 46.3%)
CIE-LABlab(54.92, -15.41, 55.02)
CIE-LCHlch(54.92, 57.14, 105.65°)
OKLaboklab(60.61% -0.0487 0.1187)
OKLCHoklch(60.61% 0.128 112.3)
XYZxyz(18.5974, 22.8515, 4.1404)
Luminance0.2285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848915 #1A1589
analogous
#895415 #848915 #4A8915
triadic
#848915 #158489 #891584
tetradic
#848915 #158954 #1A1589 #89154A
square
#848915 #158954 #1A1589 #89154A
split-complementary
#848915 #154A89 #541589
monochromatic
#1E1F05 #51540D #848915 #B7BE1D #D9E038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848915#FFFFFF#000000##000000
##8489151.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)
#958521
Tritanopia (blue-blind)
#8E8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #848915;
/* rgb */ color: rgb(132, 137, 21);
/* oklch */ color: oklch(60.6% 0.128 112.3);
Tailwind
colors: {
  custom: {
    50: '#abab60',
    500: '#848915',
    950: '#000000',
  },
}
SCSS
$custom: #848915;
$custom-light: #abab60;
$custom-dark: #000000;
JSON
{
  "hex": "#848915",
  "rgb": {
    "r": 132,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 62.586,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.6061,
    "c": 0.12827,
    "h": 112.3
  },
  "luminance": 0.22851
}

Semantic roles & 50–950 ramp

primary
#848915
secondary
#423DBD
accent
#38F040
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #848915

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

Preview Lab → · Contrast checker → · Palette generator →

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