#847B17#847B17

#847B17 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.4% C 0.114 H 103.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#847B17
RGBrgb(132, 123, 23)
HSLhsl(55, 70%, 30%)
HSVhsv(55, 83%, 52%)
CMYKcmyk(0%, 6.8%, 82.6%, 48.2%)
CIE-LABlab(50.84, -7.77, 50.93)
CIE-LCHlch(50.84, 51.52, 98.68°)
OKLaboklab(57.36% -0.0273 0.1102)
OKLCHoklch(57.36% 0.114 103.9)
XYZxyz(16.7541, 19.1340, 3.6212)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847B17 #172084
analogous
#844417 #847B17 #568417
triadic
#847B17 #17847B #7B1784
tetradic
#847B17 #178444 #172084 #841756
square
#847B17 #178444 #172084 #841756
split-complementary
#847B17 #175684 #441784
monochromatic
#1C1A05 #504A0E #847B17 #B8AC20 #DCCF39

Accessibility & contrast

On white

4.35
#847B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#847B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847B17
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847B17#FFFFFF#000000##000000
##847B171.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#8A7B20
Tritanopia (blue-blind)
#8F7269
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #847b17;
/* rgb */ color: rgb(132, 123, 23);
/* oklch */ color: oklch(57.4% 0.114 103.9);
Tailwind
colors: {
  custom: {
    50: '#aba05f',
    500: '#847b17',
    950: '#000000',
  },
}
SCSS
$custom: #847b17;
$custom-light: #aba05f;
$custom-dark: #000000;
JSON
{
  "hex": "#847b17",
  "rgb": {
    "r": 132,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 55.046,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57359,
    "c": 0.11355,
    "h": 103.9
  },
  "luminance": 0.19133
}

Semantic roles & 50–950 ramp

primary
#847B17
secondary
#3F49B8
accent
#49ED3B
background
#FAF9F5
surface
#F5F2EA
border
#CFCCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #847B17

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

Preview Lab → · Contrast checker → · Palette generator →

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