#847B22#847B22

#847B22 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.4% C 0.107 H 103.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#847B22
RGBrgb(132, 123, 34)
HSLhsl(54, 59%, 33%)
HSVhsv(54, 74%, 52%)
CMYKcmyk(0%, 6.8%, 74.2%, 48.2%)
CIE-LABlab(50.91, -7.29, 47.10)
CIE-LCHlch(50.91, 47.67, 98.80°)
OKLaboklab(57.43% -0.0249 0.1043)
OKLCHoklch(57.43% 0.107 103.4)
XYZxyz(16.8881, 19.1876, 4.3271)
Luminance0.1919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847B22 #222B84
analogous
#844A22 #847B22 #5C8422
triadic
#847B22 #22847B #7B2284
tetradic
#847B22 #22844A #222B84 #84225C
square
#847B22 #22844A #222B84 #84225C
split-complementary
#847B22 #225C84 #4A2284
monochromatic
#232009 #534E15 #847B22 #B5A82F #D2C64F

Accessibility & contrast

On white

4.34
#847B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#847B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847B22
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847B22#FFFFFF#000000##000000
##847B221.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877713
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#8E726A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #847b22;
/* rgb */ color: rgb(132, 123, 34);
/* oklch */ color: oklch(57.4% 0.107 103.4);
Tailwind
colors: {
  custom: {
    50: '#aba064',
    500: '#847b22',
    950: '#000000',
  },
}
SCSS
$custom: #847b22;
$custom-light: #aba064;
$custom-dark: #000000;
JSON
{
  "hex": "#847b22",
  "rgb": {
    "r": 132,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 54.49,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57428,
    "c": 0.10721,
    "h": 103.4
  },
  "luminance": 0.19187
}

Semantic roles & 50–950 ramp

primary
#847B22
secondary
#4D56B5
accent
#54E246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #847B22

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

Preview Lab → · Contrast checker → · Palette generator →

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