#848D2B#848D2B

#848D2B is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.7% C 0.120 H 114.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#848D2B
RGBrgb(132, 141, 43)
HSLhsl(66, 53%, 36%)
HSVhsv(66, 70%, 55%)
CMYKcmyk(6.4%, 0%, 69.5%, 44.7%)
CIE-LABlab(56.22, -16.50, 48.76)
CIE-LCHlch(56.22, 51.48, 108.70°)
OKLaboklab(61.69% -0.0498 0.1094)
OKLCHoklch(61.69% 0.12 114.5)
XYZxyz(19.4772, 24.1301, 5.9166)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848D2B #342B8D
analogous
#8D652B #848D2B #538D2B
triadic
#848D2B #2B848D #8D2B84
tetradic
#848D2B #2B8D65 #342B8D #8D2B53
square
#848D2B #2B8D65 #342B8D #8D2B53
split-complementary
#848D2B #2B538D #652B8D
monochromatic
#2C2F0E #585E1D #848D2B #B0BC39 #C5CF63

Accessibility & contrast

On white

3.60
#848D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#848D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848D2B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848D2B#FFFFFF#000000##000000
##848D2B1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861C
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#8D8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #848d2b;
/* rgb */ color: rgb(132, 141, 43);
/* oklch */ color: oklch(61.7% 0.120 114.5);
Tailwind
colors: {
  custom: {
    50: '#abae6b',
    500: '#848d2b',
    950: '#000000',
  },
}
SCSS
$custom: #848d2b;
$custom-light: #abae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#848d2b",
  "rgb": {
    "r": 132,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 65.51,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6169,
    "c": 0.12021,
    "h": 114.5
  },
  "luminance": 0.2413
}

Semantic roles & 50–950 ramp

primary
#848D2B
secondary
#665EB6
accent
#4BDD59
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #848D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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