#848120#848120

#848120 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#848120
RGBrgb(132, 129, 32)
HSLhsl(58, 61%, 32%)
HSVhsv(58, 76%, 52%)
CMYKcmyk(0%, 2.3%, 75.8%, 48.2%)
CIE-LABlab(52.63, -10.69, 49.52)
CIE-LCHlch(52.63, 50.66, 102.18°)
OKLaboklab(58.8% -0.0347 0.109)
OKLCHoklch(58.8% 0.114 107.6)
XYZxyz(17.6274, 20.7109, 4.4353)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848120 #202384
analogous
#844F20 #848120 #558420
triadic
#848120 #208481 #812084
tetradic
#848120 #20844F #202384 #842055
square
#848120 #20844F #202384 #842055
split-complementary
#848120 #205584 #4F2084
monochromatic
#212108 #535114 #848120 #B5B12C #D3CF4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848120#FFFFFF#000000##000000
##8481201.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)
#8C7C0C
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#8E786E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #848120;
/* rgb */ color: rgb(132, 129, 32);
/* oklch */ color: oklch(58.8% 0.114 107.6);
Tailwind
colors: {
  custom: {
    50: '#aba563',
    500: '#848120',
    950: '#000000',
  },
}
SCSS
$custom: #848120;
$custom-light: #aba563;
$custom-dark: #000000;
JSON
{
  "hex": "#848120",
  "rgb": {
    "r": 132,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 58.2,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58798,
    "c": 0.11438,
    "h": 107.6
  },
  "luminance": 0.2071
}

Semantic roles & 50–950 ramp

primary
#848120
secondary
#4A4DB6
accent
#49E444
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #848120

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

Preview Lab → · Contrast checker → · Palette generator →

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