#847A17#847A17

#847A17 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.1% C 0.113 H 103.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#847A17
RGBrgb(132, 122, 23)
HSLhsl(54, 70%, 30%)
HSVhsv(54, 83%, 52%)
CMYKcmyk(0%, 7.6%, 82.6%, 48.2%)
CIE-LABlab(50.55, -7.22, 50.68)
CIE-LCHlch(50.55, 51.19, 98.10°)
OKLaboklab(57.13% -0.0258 0.1097)
OKLCHoklch(57.13% 0.113 103.2)
XYZxyz(16.6307, 18.8872, 3.5800)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847A17 #172184
analogous
#844317 #847A17 #588417
triadic
#847A17 #17847A #7A1784
tetradic
#847A17 #178443 #172184 #841758
square
#847A17 #178443 #172184 #841758
split-complementary
#847A17 #175884 #431784
monochromatic
#1C1A05 #504A0E #847A17 #B8AA20 #DCCD39

Accessibility & contrast

On white

4.40
#847A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#847A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847A17
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847A17#FFFFFF#000000##000000
##847A171.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#897A1F
Tritanopia (blue-blind)
#8F7168
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #847a17;
/* rgb */ color: rgb(132, 122, 23);
/* oklch */ color: oklch(57.1% 0.113 103.2);
Tailwind
colors: {
  custom: {
    50: '#aba05e',
    500: '#847a17',
    950: '#000000',
  },
}
SCSS
$custom: #847a17;
$custom-light: #aba05e;
$custom-dark: #000000;
JSON
{
  "hex": "#847a17",
  "rgb": {
    "r": 132,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 54.495,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57129,
    "c": 0.11266,
    "h": 103.2
  },
  "luminance": 0.18886
}

Semantic roles & 50–950 ramp

primary
#847A17
secondary
#3F4AB8
accent
#4BED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #847A17

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

Preview Lab → · Contrast checker → · Palette generator →

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