#78841E#78841E

#78841E is a mid, vivid yellow. Relative luminance 0.206; OKLCH L 58.4% C 0.122 H 116.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#78841E
RGBrgb(120, 132, 30)
HSLhsl(67, 63%, 32%)
HSVhsv(67, 77%, 52%)
CMYKcmyk(9.1%, 0%, 77.3%, 48.2%)
CIE-LABlab(52.50, -17.84, 49.74)
CIE-LCHlch(52.50, 52.85, 109.73°)
OKLaboklab(58.44% -0.0541 0.1095)
OKLCHoklch(58.44% 0.122 116.3)
XYZxyz(16.2318, 20.5896, 4.3472)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78841E #2A1E84
analogous
#845D1E #78841E #45841E
triadic
#78841E #1E7884 #841E78
tetradic
#78841E #1E845D #2A1E84 #841E45
square
#78841E #1E845D #2A1E84 #841E45
split-complementary
#78841E #1E4584 #5D1E84
monochromatic
#1D2007 #4B5213 #78841E #A5B629 #C5D547

Accessibility & contrast

On white

4.10
#78841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#78841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78841E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78841E#FFFFFF#000000##000000
##78841E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#807C71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #78841e;
/* rgb */ color: rgb(120, 132, 30);
/* oklch */ color: oklch(58.4% 0.122 116.3);
Tailwind
colors: {
  custom: {
    50: '#a2a763',
    500: '#78841e',
    950: '#000000',
  },
}
SCSS
$custom: #78841e;
$custom-light: #a2a763;
$custom-dark: #000000;
JSON
{
  "hex": "#78841e",
  "rgb": {
    "r": 120,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 67.059,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58439,
    "c": 0.12216,
    "h": 116.3
  },
  "luminance": 0.20589
}

Semantic roles & 50–950 ramp

primary
#78841E
secondary
#5447B7
accent
#42E655
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #78841E

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

Preview Lab → · Contrast checker → · Palette generator →

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