#78841D#78841D

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

Color values

HEX#78841D
RGBrgb(120, 132, 29)
HSLhsl(67, 64%, 32%)
HSVhsv(67, 78%, 52%)
CMYKcmyk(9.1%, 0%, 78%, 48.2%)
CIE-LABlab(52.49, -17.89, 50.08)
CIE-LCHlch(52.49, 53.18, 109.66°)
OKLaboklab(58.43% -0.0543 0.1101)
OKLCHoklch(58.43% 0.123 116.3)
XYZxyz(16.2192, 20.5845, 4.2810)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78841D #291D84
analogous
#845D1D #78841D #45841D
triadic
#78841D #1D7884 #841D78
tetradic
#78841D #1D845D #291D84 #841D45
square
#78841D #1D845D #291D84 #841D45
split-complementary
#78841D #1D4584 #5D1D84
monochromatic
#1D2007 #4A5212 #78841D #A6B628 #C5D645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78841D#FFFFFF#000000##000000
##78841D1.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)
#8E7D04
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#807C71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #78841d;
/* rgb */ color: rgb(120, 132, 29);
/* oklch */ color: oklch(58.4% 0.123 116.3);
Tailwind
colors: {
  custom: {
    50: '#a2a762',
    500: '#78841d',
    950: '#000000',
  },
}
SCSS
$custom: #78841d;
$custom-light: #a2a762;
$custom-dark: #000000;
JSON
{
  "hex": "#78841d",
  "rgb": {
    "r": 120,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 66.99,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58433,
    "c": 0.12273,
    "h": 116.3
  },
  "luminance": 0.20584
}

Semantic roles & 50–950 ramp

primary
#78841D
secondary
#5346B7
accent
#41E754
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #78841D

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

Preview Lab → · Contrast checker → · Palette generator →

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