#847F2C#847F2C

#847F2C is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.4% C 0.104 H 105.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#847F2C
RGBrgb(132, 127, 44)
HSLhsl(57, 50%, 35%)
HSVhsv(57, 67%, 52%)
CMYKcmyk(0%, 3.8%, 66.7%, 48.2%)
CIE-LABlab(52.14, -8.92, 44.14)
CIE-LCHlch(52.14, 45.03, 101.43°)
OKLaboklab(58.43% -0.0284 0.0998)
OKLCHoklch(58.43% 0.104 105.9)
XYZxyz(17.5604, 20.2667, 5.3692)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847F2C #2C3184
analogous
#84532C #847F2C #5D842C
triadic
#847F2C #2C847F #7F2C84
tetradic
#847F2C #2C8453 #2C3184 #842C5D
square
#847F2C #2C8453 #2C3184 #842C5D
split-complementary
#847F2C #2C5D84 #532C84
monochromatic
#28270D #56531D #847F2C #B2AB3B #CAC460

Accessibility & contrast

On white

4.16
#847F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#847F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847F2C
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847F2C#FFFFFF#000000##000000
##847F2C1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A21
Deuteranopia (green-blind)
#8C7E31
Tritanopia (blue-blind)
#8E776E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #847f2c;
/* rgb */ color: rgb(132, 127, 44);
/* oklch */ color: oklch(58.4% 0.104 105.9);
Tailwind
colors: {
  custom: {
    50: '#aaa36a',
    500: '#847f2c',
    950: '#000000',
  },
}
SCSS
$custom: #847f2c;
$custom-light: #aaa36a;
$custom-dark: #000000;
JSON
{
  "hex": "#847f2c",
  "rgb": {
    "r": 132,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 56.591,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58432,
    "c": 0.10379,
    "h": 105.9
  },
  "luminance": 0.20266
}

Semantic roles & 50–950 ramp

primary
#847F2C
secondary
#5C60B0
accent
#56DA4E
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #847F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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