#78841A#78841A

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

Color values

HEX#78841A
RGBrgb(120, 132, 26)
HSLhsl(67, 67%, 31%)
HSVhsv(67, 80%, 52%)
CMYKcmyk(9.1%, 0%, 80.3%, 48.2%)
CIE-LABlab(52.48, -18.02, 51.05)
CIE-LCHlch(52.48, 54.14, 109.45°)
OKLaboklab(58.41% -0.0549 0.1116)
OKLCHoklch(58.41% 0.124 116.2)
XYZxyz(16.1839, 20.5704, 4.0950)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78841A #261A84
analogous
#845B1A #78841A #43841A
triadic
#78841A #1A7884 #841A78
tetradic
#78841A #1A845B #261A84 #841A43
square
#78841A #1A845B #261A84 #841A43
split-complementary
#78841A #1A4384 #5B1A84
monochromatic
#1B1E06 #4A5110 #78841A #A6B724 #C8D93F

Accessibility & contrast

On white

4.11
#78841A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#78841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78841A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78841A#FFFFFF#000000##000000
##78841A1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#807C70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #78841a;
/* rgb */ color: rgb(120, 132, 26);
/* oklch */ color: oklch(58.4% 0.124 116.2);
Tailwind
colors: {
  custom: {
    50: '#a2a761',
    500: '#78841a',
    950: '#000000',
  },
}
SCSS
$custom: #78841a;
$custom-light: #a2a761;
$custom-dark: #000000;
JSON
{
  "hex": "#78841a",
  "rgb": {
    "r": 120,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 66.792,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58415,
    "c": 0.12436,
    "h": 116.2
  },
  "luminance": 0.2057
}

Semantic roles & 50–950 ramp

primary
#78841A
secondary
#5042B8
accent
#3EEA51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #78841A

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

Preview Lab → · Contrast checker → · Palette generator →

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