#847917#847917

#847917 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.9% C 0.112 H 102.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#847917
RGBrgb(132, 121, 23)
HSLhsl(54, 70%, 30%)
HSVhsv(54, 83%, 52%)
CMYKcmyk(0%, 8.3%, 82.6%, 48.2%)
CIE-LABlab(50.27, -6.66, 50.42)
CIE-LCHlch(50.27, 50.86, 97.53°)
OKLaboklab(56.9% -0.0242 0.1091)
OKLCHoklch(56.9% 0.112 102.5)
XYZxyz(16.5085, 18.6429, 3.5393)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847917 #172284
analogous
#844217 #847917 #588417
triadic
#847917 #178479 #791784
tetradic
#847917 #178442 #172284 #841758
square
#847917 #178442 #172284 #841758
split-complementary
#847917 #175884 #421784
monochromatic
#1C1905 #50490E #847917 #B8A920 #DCCC39

Accessibility & contrast

On white

4.44
#847917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#847917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847917
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847917#FFFFFF#000000##000000
##8479171.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#887A1F
Tritanopia (blue-blind)
#8F7067
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #847917;
/* rgb */ color: rgb(132, 121, 23);
/* oklch */ color: oklch(56.9% 0.112 102.5);
Tailwind
colors: {
  custom: {
    50: '#ab9f5e',
    500: '#847917',
    950: '#000000',
  },
}
SCSS
$custom: #847917;
$custom-light: #ab9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#847917",
  "rgb": {
    "r": 132,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 53.945,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.569,
    "c": 0.11177,
    "h": 102.5
  },
  "luminance": 0.18642
}

Semantic roles & 50–950 ramp

primary
#847917
secondary
#3F4BB8
accent
#4DED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #847917

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

Preview Lab → · Contrast checker → · Palette generator →

#847917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva