#847D17#847D17

#847D17 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.8% C 0.115 H 105.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#847D17
RGBrgb(132, 125, 23)
HSLhsl(56, 70%, 30%)
HSVhsv(56, 83%, 52%)
CMYKcmyk(0%, 5.3%, 82.6%, 48.2%)
CIE-LABlab(51.42, -8.87, 51.44)
CIE-LCHlch(51.42, 52.20, 99.79°)
OKLaboklab(57.82% -0.0304 0.1113)
OKLCHoklch(57.82% 0.115 105.3)
XYZxyz(17.0047, 19.6353, 3.7047)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847D17 #171E84
analogous
#844617 #847D17 #548417
triadic
#847D17 #17847D #7D1784
tetradic
#847D17 #178446 #171E84 #841754
square
#847D17 #178446 #171E84 #841754
split-complementary
#847D17 #175484 #461784
monochromatic
#1C1A05 #504C0E #847D17 #B8AE20 #DCD239

Accessibility & contrast

On white

4.26
#847D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#847D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847D17
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847D17#FFFFFF#000000##000000
##847D171.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8B7C20
Tritanopia (blue-blind)
#8E746A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #847d17;
/* rgb */ color: rgb(132, 125, 23);
/* oklch */ color: oklch(57.8% 0.115 105.3);
Tailwind
colors: {
  custom: {
    50: '#aba25f',
    500: '#847d17',
    950: '#000000',
  },
}
SCSS
$custom: #847d17;
$custom-light: #aba25f;
$custom-dark: #000000;
JSON
{
  "hex": "#847d17",
  "rgb": {
    "r": 132,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 56.147,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.11539,
    "h": 105.3
  },
  "luminance": 0.19635
}

Semantic roles & 50–950 ramp

primary
#847D17
secondary
#3F46B8
accent
#46ED3B
background
#FAF9F5
surface
#F5F2EA
border
#CFCCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #847D17

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

Preview Lab → · Contrast checker → · Palette generator →

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