#847F25#847F25

#847F25 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.109 H 106.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#847F25
RGBrgb(132, 127, 37)
HSLhsl(57, 56%, 33%)
HSVhsv(57, 72%, 52%)
CMYKcmyk(0%, 3.8%, 72%, 48.2%)
CIE-LABlab(52.08, -9.34, 47.06)
CIE-LCHlch(52.08, 47.98, 101.23°)
OKLaboklab(58.37% -0.0304 0.1048)
OKLCHoklch(58.37% 0.109 106.2)
XYZxyz(17.4397, 20.2185, 4.7338)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847F25 #252A84
analogous
#844F25 #847F25 #598425
triadic
#847F25 #25847F #7F2584
tetradic
#847F25 #25844F #252A84 #842559
square
#847F25 #25844F #252A84 #842559
split-complementary
#847F25 #255984 #4F2584
monochromatic
#24230A #545118 #847F25 #B4AD32 #CFC954

Accessibility & contrast

On white

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

On black

5.04
#847F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847F25
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847F25#FFFFFF#000000##000000
##847F251.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#8C7E2B
Tritanopia (blue-blind)
#8E766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #847f25;
/* rgb */ color: rgb(132, 127, 37);
/* oklch */ color: oklch(58.4% 0.109 106.2);
Tailwind
colors: {
  custom: {
    50: '#aba366',
    500: '#847f25',
    950: '#000000',
  },
}
SCSS
$custom: #847f25;
$custom-light: #aba366;
$custom-dark: #000000;
JSON
{
  "hex": "#847f25",
  "rgb": {
    "r": 132,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 56.842,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58372,
    "c": 0.10907,
    "h": 106.2
  },
  "luminance": 0.20218
}

Semantic roles & 50–950 ramp

primary
#847F25
secondary
#5157B3
accent
#50E048
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #847F25

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

Preview Lab → · Contrast checker → · Palette generator →

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