#847C17#847C17

#847C17 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.6% C 0.114 H 104.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#847C17
RGBrgb(132, 124, 23)
HSLhsl(56, 70%, 30%)
HSVhsv(56, 83%, 52%)
CMYKcmyk(0%, 6.1%, 82.6%, 48.2%)
CIE-LABlab(51.13, -8.32, 51.18)
CIE-LCHlch(51.13, 51.86, 99.24°)
OKLaboklab(57.59% -0.0289 0.1108)
OKLCHoklch(57.59% 0.114 104.6)
XYZxyz(16.8788, 19.3834, 3.6627)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847C17 #171F84
analogous
#844517 #847C17 #568417
triadic
#847C17 #17847C #7C1784
tetradic
#847C17 #178445 #171F84 #841756
square
#847C17 #178445 #171F84 #841756
split-complementary
#847C17 #175684 #451784
monochromatic
#1C1A05 #504B0E #847C17 #B8AD20 #DCD039

Accessibility & contrast

On white

4.31
#847C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#847C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847C17
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847C17#FFFFFF#000000##000000
##847C171.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#8B7C20
Tritanopia (blue-blind)
#8F736A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #847c17;
/* rgb */ color: rgb(132, 124, 23);
/* oklch */ color: oklch(57.6% 0.114 104.6);
Tailwind
colors: {
  custom: {
    50: '#aba15f',
    500: '#847c17',
    950: '#000000',
  },
}
SCSS
$custom: #847c17;
$custom-light: #aba15f;
$custom-dark: #000000;
JSON
{
  "hex": "#847c17",
  "rgb": {
    "r": 132,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 55.596,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57589,
    "c": 0.11446,
    "h": 104.6
  },
  "luminance": 0.19383
}

Semantic roles & 50–950 ramp

primary
#847C17
secondary
#3F48B8
accent
#48ED3B
background
#FAF9F5
surface
#F5F2EA
border
#CFCCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #847C17

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

Preview Lab → · Contrast checker → · Palette generator →

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