#78841F#78841F

#78841F 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#78841F
RGBrgb(120, 132, 31)
HSLhsl(67, 62%, 32%)
HSVhsv(67, 77%, 52%)
CMYKcmyk(9.1%, 0%, 76.5%, 48.2%)
CIE-LABlab(52.50, -17.79, 49.40)
CIE-LCHlch(52.50, 52.50, 109.81°)
OKLaboklab(58.45% -0.0538 0.109)
OKLCHoklch(58.45% 0.122 116.3)
XYZxyz(16.2447, 20.5948, 4.4155)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78841F #2B1F84
analogous
#845E1F #78841F #46841F
triadic
#78841F #1F7884 #841F78
tetradic
#78841F #1F845E #2B1F84 #841F46
square
#78841F #1F845E #2B1F84 #841F46
split-complementary
#78841F #1F4684 #5E1F84
monochromatic
#1E2108 #4B5213 #78841F #A5B62B #C4D449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78841F#FFFFFF#000000##000000
##78841F1.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)
#8E7D09
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#807C71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #78841f;
/* rgb */ color: rgb(120, 132, 31);
/* oklch */ color: oklch(58.4% 0.122 116.3);
Tailwind
colors: {
  custom: {
    50: '#a2a763',
    500: '#78841f',
    950: '#000000',
  },
}
SCSS
$custom: #78841f;
$custom-light: #a2a763;
$custom-dark: #000000;
JSON
{
  "hex": "#78841f",
  "rgb": {
    "r": 120,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 67.129,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58445,
    "c": 0.12157,
    "h": 116.3
  },
  "luminance": 0.20595
}

Semantic roles & 50–950 ramp

primary
#78841F
secondary
#5548B7
accent
#43E556
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #78841F

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

Preview Lab → · Contrast checker → · Palette generator →

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