#848D11#848D11

#848D11 is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.5% C 0.134 H 114.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#848D11
RGBrgb(132, 141, 17)
HSLhsl(64, 78%, 31%)
HSVhsv(64, 88%, 55%)
CMYKcmyk(6.4%, 0%, 87.9%, 44.7%)
CIE-LABlab(56.08, -17.62, 56.96)
CIE-LCHlch(56.08, 59.62, 107.19°)
OKLaboklab(61.54% -0.0551 0.1222)
OKLCHoklch(61.54% 0.134 114.3)
XYZxyz(19.1424, 23.9962, 4.1535)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848D11 #1A118D
analogous
#8D5811 #848D11 #468D11
triadic
#848D11 #11848D #8D1184
tetradic
#848D11 #118D58 #1A118D #8D1146
square
#848D11 #118D58 #1A118D #8D1146
split-complementary
#848D11 #11468D #58118D
monochromatic
#1E2004 #51560A #848D11 #B7C418 #D9E632

Accessibility & contrast

On white

3.62
#848D11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#848D11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848D11
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848D11#FFFFFF#000000##000000
##848D111.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#988720
Tritanopia (blue-blind)
#8D8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #848d11;
/* rgb */ color: rgb(132, 141, 17);
/* oklch */ color: oklch(61.5% 0.134 114.3);
Tailwind
colors: {
  custom: {
    50: '#acae5f',
    500: '#848d11',
    950: '#000000',
  },
}
SCSS
$custom: #848d11;
$custom-light: #acae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#848d11",
  "rgb": {
    "r": 132,
    "g": 141,
    "b": 17
  },
  "hsl": {
    "h": 64.355,
    "s": 78.481,
    "l": 30.98
  },
  "oklch": {
    "l": 0.6154,
    "c": 0.13402,
    "h": 114.3
  },
  "luminance": 0.23996
}

Semantic roles & 50–950 ramp

primary
#848D11
secondary
#4238C2
accent
#33F541
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#111005
muted
#807F79

Preview Lab

Preview with #848D11

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

Preview Lab → · Contrast checker → · Palette generator →

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