#847E17#847E17

#847E17 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.1% C 0.116 H 105.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#847E17
RGBrgb(132, 126, 23)
HSLhsl(57, 70%, 30%)
HSVhsv(57, 83%, 52%)
CMYKcmyk(0%, 4.5%, 82.6%, 48.2%)
CIE-LABlab(51.71, -9.42, 51.69)
CIE-LCHlch(51.71, 52.54, 100.33°)
OKLaboklab(58.05% -0.0319 0.1119)
OKLCHoklch(58.05% 0.116 105.9)
XYZxyz(17.1320, 19.8898, 3.7471)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847E17 #171D84
analogous
#844717 #847E17 #548417
triadic
#847E17 #17847E #7E1784
tetradic
#847E17 #178447 #171D84 #841754
square
#847E17 #178447 #171D84 #841754
split-complementary
#847E17 #175484 #471784
monochromatic
#1C1A05 #504C0E #847E17 #B8B020 #DCD339

Accessibility & contrast

On white

4.22
#847E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#847E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847E17
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847E17#FFFFFF#000000##000000
##847E171.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8C7D20
Tritanopia (blue-blind)
#8E756B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #847e17;
/* rgb */ color: rgb(132, 126, 23);
/* oklch */ color: oklch(58.1% 0.116 105.9);
Tailwind
colors: {
  custom: {
    50: '#aba35f',
    500: '#847e17',
    950: '#000000',
  },
}
SCSS
$custom: #847e17;
$custom-light: #aba35f;
$custom-dark: #000000;
JSON
{
  "hex": "#847e17",
  "rgb": {
    "r": 132,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 56.697,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5805,
    "c": 0.11632,
    "h": 105.9
  },
  "luminance": 0.19889
}

Semantic roles & 50–950 ramp

primary
#847E17
secondary
#3F45B8
accent
#45ED3B
background
#FAF9F5
surface
#F5F2EA
border
#CFCCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #847E17

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

Preview Lab → · Contrast checker → · Palette generator →

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