#847D22#847D22

#847D22 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.9% C 0.109 H 104.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#847D22
RGBrgb(132, 125, 34)
HSLhsl(56, 59%, 33%)
HSVhsv(56, 74%, 52%)
CMYKcmyk(0%, 5.3%, 74.2%, 48.2%)
CIE-LABlab(51.48, -8.40, 47.66)
CIE-LCHlch(51.48, 48.40, 100.00°)
OKLaboklab(57.89% -0.028 0.1055)
OKLCHoklch(57.89% 0.109 104.9)
XYZxyz(17.1388, 19.6889, 4.4106)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847D22 #222984
analogous
#844C22 #847D22 #5A8422
triadic
#847D22 #22847D #7D2284
tetradic
#847D22 #22844C #222984 #84225A
square
#847D22 #22844C #222984 #84225A
split-complementary
#847D22 #225A84 #4C2284
monochromatic
#232109 #534F15 #847D22 #B5AB2F #D2C84F

Accessibility & contrast

On white

4.25
#847D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#847D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847D22
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847D22#FFFFFF#000000##000000
##847D221.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887812
Deuteranopia (green-blind)
#8B7C28
Tritanopia (blue-blind)
#8E746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #847d22;
/* rgb */ color: rgb(132, 125, 34);
/* oklch */ color: oklch(57.9% 0.109 104.9);
Tailwind
colors: {
  custom: {
    50: '#aba264',
    500: '#847d22',
    950: '#000000',
  },
}
SCSS
$custom: #847d22;
$custom-light: #aba264;
$custom-dark: #000000;
JSON
{
  "hex": "#847d22",
  "rgb": {
    "r": 132,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 55.714,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57888,
    "c": 0.10913,
    "h": 104.9
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#847D22
secondary
#4D54B5
accent
#51E246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #847D22

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

Preview Lab → · Contrast checker → · Palette generator →

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