#847F24#847F24

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

Color values

HEX#847F24
RGBrgb(132, 127, 36)
HSLhsl(57, 57%, 33%)
HSVhsv(57, 73%, 52%)
CMYKcmyk(0%, 3.8%, 72.7%, 48.2%)
CIE-LABlab(52.08, -9.40, 47.45)
CIE-LCHlch(52.08, 48.37, 101.20°)
OKLaboklab(58.36% -0.0306 0.1054)
OKLCHoklch(58.36% 0.11 106.2)
XYZxyz(17.4242, 20.2123, 4.6523)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847F24 #242984
analogous
#844F24 #847F24 #598424
triadic
#847F24 #24847F #7F2484
tetradic
#847F24 #24844F #242984 #842459
square
#847F24 #24844F #242984 #842459
split-complementary
#847F24 #245984 #4F2484
monochromatic
#24220A #545117 #847F24 #B4AD31 #D0C952

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##847F24#FFFFFF#000000##000000
##847F241.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)
#8A7A15
Deuteranopia (green-blind)
#8C7E2A
Tritanopia (blue-blind)
#8E766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #847f24;
/* rgb */ color: rgb(132, 127, 36);
/* oklch */ color: oklch(58.4% 0.110 106.2);
Tailwind
colors: {
  custom: {
    50: '#aba365',
    500: '#847f24',
    950: '#000000',
  },
}
SCSS
$custom: #847f24;
$custom-light: #aba365;
$custom-dark: #000000;
JSON
{
  "hex": "#847f24",
  "rgb": {
    "r": 132,
    "g": 127,
    "b": 36
  },
  "hsl": {
    "h": 56.875,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58364,
    "c": 0.10976,
    "h": 106.2
  },
  "luminance": 0.20212
}

Semantic roles & 50–950 ramp

primary
#847F24
secondary
#5055B4
accent
#4FE047
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #847F24

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

Preview Lab → · Contrast checker → · Palette generator →

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