#848A15#848A15

#848A15 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.8% C 0.129 H 112.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#848A15
RGBrgb(132, 138, 21)
HSLhsl(63, 74%, 31%)
HSVhsv(63, 85%, 54%)
CMYKcmyk(4.3%, 0%, 84.8%, 45.9%)
CIE-LABlab(55.21, -15.94, 55.27)
CIE-LCHlch(55.21, 57.52, 106.09°)
OKLaboklab(60.85% -0.0502 0.1192)
OKLCHoklch(60.85% 0.129 112.8)
XYZxyz(18.7402, 23.1371, 4.1880)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848A15 #1B158A
analogous
#8A5515 #848A15 #498A15
triadic
#848A15 #15848A #8A1584
tetradic
#848A15 #158A55 #1B158A #8A1549
square
#848A15 #158A55 #1B158A #8A1549
split-complementary
#848A15 #15498A #55158A
monochromatic
#1E2005 #51550D #848A15 #B7BF1D #D8E139

Accessibility & contrast

On white

3.73
#848A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#848A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848A15
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848A15#FFFFFF#000000##000000
##848A151.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#958521
Tritanopia (blue-blind)
#8E8175
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #848a15;
/* rgb */ color: rgb(132, 138, 21);
/* oklch */ color: oklch(60.8% 0.129 112.8);
Tailwind
colors: {
  custom: {
    50: '#abab60',
    500: '#848a15',
    950: '#000000',
  },
}
SCSS
$custom: #848a15;
$custom-light: #abab60;
$custom-dark: #000000;
JSON
{
  "hex": "#848a15",
  "rgb": {
    "r": 132,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 63.077,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60846,
    "c": 0.12934,
    "h": 112.8
  },
  "luminance": 0.23137
}

Semantic roles & 50–950 ramp

primary
#848A15
secondary
#433DBE
accent
#38F041
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #848A15

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

Preview Lab → · Contrast checker → · Palette generator →

#848A15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva