#847F2D#847F2D

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

Color values

HEX#847F2D
RGBrgb(132, 127, 45)
HSLhsl(57, 49%, 35%)
HSVhsv(57, 66%, 52%)
CMYKcmyk(0%, 3.8%, 65.9%, 48.2%)
CIE-LABlab(52.15, -8.85, 43.70)
CIE-LCHlch(52.15, 44.59, 101.45°)
OKLaboklab(58.44% -0.0281 0.0991)
OKLCHoklch(58.44% 0.103 105.8)
XYZxyz(17.5794, 20.2743, 5.4694)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847F2D #2D3284
analogous
#84542D #847F2D #5D842D
triadic
#847F2D #2D847F #7F2D84
tetradic
#847F2D #2D8454 #2D3284 #842D5D
square
#847F2D #2D8454 #2D3284 #842D5D
split-complementary
#847F2D #2D5D84 #542D84
monochromatic
#29270E #56531D #847F2D #B2AB3D #C9C462

Accessibility & contrast

On white

4.15
#847F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##847F2D#FFFFFF#000000##000000
##847F2D1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #847f2d;
/* rgb */ color: rgb(132, 127, 45);
/* oklch */ color: oklch(58.4% 0.103 105.8);
Tailwind
colors: {
  custom: {
    50: '#aaa36a',
    500: '#847f2d',
    950: '#000000',
  },
}
SCSS
$custom: #847f2d;
$custom-light: #aaa36a;
$custom-dark: #000000;
JSON
{
  "hex": "#847f2d",
  "rgb": {
    "r": 132,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 56.552,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58442,
    "c": 0.10296,
    "h": 105.8
  },
  "luminance": 0.20274
}

Semantic roles & 50–950 ramp

primary
#847F2D
secondary
#5D62B0
accent
#57D94F
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #847F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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