#78861A#78861A

#78861A is a mid, vivid yellow. Relative luminance 0.211; OKLCH L 58.9% C 0.127 H 117.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#78861A
RGBrgb(120, 134, 26)
HSLhsl(68, 68%, 31%)
HSVhsv(68, 81%, 53%)
CMYKcmyk(10.4%, 0%, 80.6%, 47.5%)
CIE-LABlab(53.08, -19.07, 51.60)
CIE-LCHlch(53.08, 55.01, 110.28°)
OKLaboklab(58.9% -0.0578 0.1127)
OKLCHoklch(58.9% 0.127 117.1)
XYZxyz(16.4577, 21.1180, 4.1863)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78861A #281A86
analogous
#865E1A #78861A #42861A
triadic
#78861A #1A7886 #861A78
tetradic
#78861A #1A865E #281A86 #861A42
square
#78861A #1A865E #281A86 #861A42
split-complementary
#78861A #1A4286 #5E1A86
monochromatic
#1C1F06 #4A5310 #78861A #A6B924 #C6DA40

Accessibility & contrast

On white

4.02
#78861A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#78861A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78861A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78861A#FFFFFF#000000##000000
##78861A1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#807E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #78861a;
/* rgb */ color: rgb(120, 134, 26);
/* oklch */ color: oklch(58.9% 0.127 117.1);
Tailwind
colors: {
  custom: {
    50: '#a2a961',
    500: '#78861a',
    950: '#000000',
  },
}
SCSS
$custom: #78861a;
$custom-light: #a2a961;
$custom-dark: #000000;
JSON
{
  "hex": "#78861a",
  "rgb": {
    "r": 120,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 67.778,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58899,
    "c": 0.12669,
    "h": 117.1
  },
  "luminance": 0.21118
}

Semantic roles & 50–950 ramp

primary
#78861A
secondary
#5242B9
accent
#3DEA54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #78861A

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

Preview Lab → · Contrast checker → · Palette generator →

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