#848121#848121

#848121 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.8% C 0.114 H 107.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#848121
RGBrgb(132, 129, 33)
HSLhsl(58, 60%, 32%)
HSVhsv(58, 75%, 52%)
CMYKcmyk(0%, 2.3%, 75%, 48.2%)
CIE-LABlab(52.64, -10.64, 49.15)
CIE-LCHlch(52.64, 50.29, 102.22°)
OKLaboklab(58.8% -0.0344 0.1084)
OKLCHoklch(58.8% 0.114 107.6)
XYZxyz(17.6412, 20.7164, 4.5080)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848121 #212484
analogous
#845021 #848121 #558421
triadic
#848121 #218481 #812184
tetradic
#848121 #218450 #212484 #842155
square
#848121 #218450 #212484 #842155
split-complementary
#848121 #215584 #502184
monochromatic
#222109 #535115 #848121 #B5B12D #D2CE4D

Accessibility & contrast

On white

4.08
#848121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#848121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848121
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848121#FFFFFF#000000##000000
##8481211.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0E
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#8E786F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #848121;
/* rgb */ color: rgb(132, 129, 33);
/* oklch */ color: oklch(58.8% 0.114 107.6);
Tailwind
colors: {
  custom: {
    50: '#aba564',
    500: '#848121',
    950: '#000000',
  },
}
SCSS
$custom: #848121;
$custom-light: #aba564;
$custom-dark: #000000;
JSON
{
  "hex": "#848121",
  "rgb": {
    "r": 132,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 58.182,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58805,
    "c": 0.11376,
    "h": 107.6
  },
  "luminance": 0.20716
}

Semantic roles & 50–950 ramp

primary
#848121
secondary
#4B4EB6
accent
#49E345
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #848121

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

Preview Lab → · Contrast checker → · Palette generator →

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