#848D22#848D22

#848D22 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.6% C 0.126 H 114.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#848D22
RGBrgb(132, 141, 34)
HSLhsl(65, 61%, 34%)
HSVhsv(65, 76%, 55%)
CMYKcmyk(6.4%, 0%, 75.9%, 44.7%)
CIE-LABlab(56.16, -16.99, 52.13)
CIE-LCHlch(56.16, 54.83, 108.06°)
OKLaboklab(61.62% -0.052 0.1149)
OKLCHoklch(61.62% 0.126 114.4)
XYZxyz(19.3299, 24.0711, 5.1410)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848D22 #2B228D
analogous
#8D6122 #848D22 #4F8D22
triadic
#848D22 #22848D #8D2284
tetradic
#848D22 #228D61 #2B228D #8D224F
square
#848D22 #228D61 #2B228D #8D224F
split-complementary
#848D22 #224F8D #61228D
monochromatic
#282A0A #565C16 #848D22 #B2BE2E #CBD654

Accessibility & contrast

On white

3.61
#848D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#848D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848D22
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848D22#FFFFFF#000000##000000
##848D221.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860A
Deuteranopia (green-blind)
#97882B
Tritanopia (blue-blind)
#8D8479
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #848d22;
/* rgb */ color: rgb(132, 141, 34);
/* oklch */ color: oklch(61.6% 0.126 114.4);
Tailwind
colors: {
  custom: {
    50: '#abae66',
    500: '#848d22',
    950: '#000000',
  },
}
SCSS
$custom: #848d22;
$custom-light: #abae66;
$custom-dark: #000000;
JSON
{
  "hex": "#848d22",
  "rgb": {
    "r": 132,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 65.047,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61624,
    "c": 0.12614,
    "h": 114.4
  },
  "luminance": 0.24071
}

Semantic roles & 50–950 ramp

primary
#848D22
secondary
#5A51B9
accent
#44E451
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848D22

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

Preview Lab → · Contrast checker → · Palette generator →

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