#847E25#847E25

#847E25 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.1% C 0.108 H 105.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#847E25
RGBrgb(132, 126, 37)
HSLhsl(56, 56%, 33%)
HSVhsv(56, 72%, 52%)
CMYKcmyk(0%, 4.5%, 72%, 48.2%)
CIE-LABlab(51.79, -8.79, 46.77)
CIE-LCHlch(51.79, 47.59, 100.65°)
OKLaboklab(58.14% -0.0288 0.1042)
OKLCHoklch(58.14% 0.108 105.5)
XYZxyz(17.3112, 19.9615, 4.6910)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847E25 #252B84
analogous
#844F25 #847E25 #5A8425
triadic
#847E25 #25847E #7E2584
tetradic
#847E25 #25844F #252B84 #84255A
square
#847E25 #25844F #252B84 #84255A
split-complementary
#847E25 #255A84 #4F2584
monochromatic
#24230A #545018 #847E25 #B4AC32 #CFC754

Accessibility & contrast

On white

4.21
#847E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#847E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847E25
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847E25#FFFFFF#000000##000000
##847E251.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897917
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#8E756C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #847e25;
/* rgb */ color: rgb(132, 126, 37);
/* oklch */ color: oklch(58.1% 0.108 105.5);
Tailwind
colors: {
  custom: {
    50: '#aba366',
    500: '#847e25',
    950: '#000000',
  },
}
SCSS
$custom: #847e25;
$custom-light: #aba366;
$custom-dark: #000000;
JSON
{
  "hex": "#847e25",
  "rgb": {
    "r": 132,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 56.211,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58141,
    "c": 0.10806,
    "h": 105.5
  },
  "luminance": 0.19961
}

Semantic roles & 50–950 ramp

primary
#847E25
secondary
#5158B3
accent
#52E048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #847E25

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

Preview Lab → · Contrast checker → · Palette generator →

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