#78871E#78871E

#78871E is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.2% C 0.126 H 117.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#78871E
RGBrgb(120, 135, 30)
HSLhsl(69, 64%, 32%)
HSVhsv(69, 78%, 53%)
CMYKcmyk(11.1%, 0%, 77.8%, 47.1%)
CIE-LABlab(53.40, -19.41, 50.59)
CIE-LCHlch(53.40, 54.18, 110.99°)
OKLaboklab(59.17% -0.0584 0.1113)
OKLCHoklch(59.17% 0.126 117.7)
XYZxyz(16.6444, 21.4149, 4.4847)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78871E #2D1E87
analogous
#87611E #78871E #44871E
triadic
#78871E #1E7887 #871E78
tetradic
#78871E #1E8761 #2D1E87 #871E44
square
#78871E #1E8761 #2D1E87 #871E44
split-complementary
#78871E #1E4487 #611E87
monochromatic
#1F2308 #4B5513 #78871E #A5B929 #C2D749

Accessibility & contrast

On white

3.98
#78871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#78871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78871E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78871E#FFFFFF#000000##000000
##78871E1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F04
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#807F73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #78871e;
/* rgb */ color: rgb(120, 135, 30);
/* oklch */ color: oklch(59.2% 0.126 117.7);
Tailwind
colors: {
  custom: {
    50: '#a2a963',
    500: '#78871e',
    950: '#000000',
  },
}
SCSS
$custom: #78871e;
$custom-light: #a2a963;
$custom-dark: #000000;
JSON
{
  "hex": "#78871e",
  "rgb": {
    "r": 120,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 68.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59165,
    "c": 0.12571,
    "h": 117.7
  },
  "luminance": 0.21415
}

Semantic roles & 50–950 ramp

primary
#78871E
secondary
#5848B9
accent
#41E759
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #78871E

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

Preview Lab → · Contrast checker → · Palette generator →

#78871E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva