#847F18#847F18

#847F18 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.3% C 0.117 H 106.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#847F18
RGBrgb(132, 127, 24)
HSLhsl(57, 69%, 31%)
HSVhsv(57, 82%, 52%)
CMYKcmyk(0%, 3.8%, 81.8%, 48.2%)
CIE-LABlab(52.01, -9.93, 51.65)
CIE-LCHlch(52.01, 52.59, 100.89°)
OKLaboklab(58.29% -0.0333 0.112)
OKLCHoklch(58.29% 0.117 106.6)
XYZxyz(17.2707, 20.1509, 3.8437)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847F18 #181D84
analogous
#844918 #847F18 #538418
triadic
#847F18 #18847F #7F1884
tetradic
#847F18 #188449 #181D84 #841853
square
#847F18 #188449 #181D84 #841853
split-complementary
#847F18 #185384 #491884
monochromatic
#1C1B05 #504D0F #847F18 #B8B121 #DBD43B

Accessibility & contrast

On white

4.17
#847F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#847F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847F18
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847F18#FFFFFF#000000##000000
##847F181.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#8E766C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #847f18;
/* rgb */ color: rgb(132, 127, 24);
/* oklch */ color: oklch(58.3% 0.117 106.6);
Tailwind
colors: {
  custom: {
    50: '#aba360',
    500: '#847f18',
    950: '#000000',
  },
}
SCSS
$custom: #847f18;
$custom-light: #aba360;
$custom-dark: #000000;
JSON
{
  "hex": "#847f18",
  "rgb": {
    "r": 132,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 57.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58287,
    "c": 0.11679,
    "h": 106.6
  },
  "luminance": 0.2015
}

Semantic roles & 50–950 ramp

primary
#847F18
secondary
#4045B8
accent
#44EC3C
background
#FAFAF5
surface
#F5F3EA
border
#CFCDC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #847F18

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

Preview Lab → · Contrast checker → · Palette generator →

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