#78781E#78781E

#78781E is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.109 H 109.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#78781E
RGBrgb(120, 120, 30)
HSLhsl(60, 60%, 29%)
HSVhsv(60, 75%, 47%)
CMYKcmyk(0%, 0%, 75%, 52.9%)
CIE-LABlab(48.91, -11.41, 46.35)
CIE-LCHlch(48.91, 47.73, 103.83°)
OKLaboklab(55.56% -0.0362 0.1024)
OKLCHoklch(55.56% 0.109 109.5)
XYZxyz(14.6971, 17.5202, 3.8356)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78781E #1E1E78
analogous
#784B1E #78781E #4B781E
triadic
#78781E #1E7878 #781E78
tetradic
#78781E #1E784B #1E1E78 #781E4B
square
#78781E #1E784B #1E1E78 #781E4B
split-complementary
#78781E #1E4B78 #4B1E78
monochromatic
#181806 #474712 #78781E #A9A92A #CFCF41

Accessibility & contrast

On white

4.66
#78781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#78781E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #78781E
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78781E#FFFFFF#000000##FFFFFF
##78781E1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730D
Deuteranopia (green-blind)
#837625
Tritanopia (blue-blind)
#817067
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #78781e;
/* rgb */ color: rgb(120, 120, 30);
/* oklch */ color: oklch(55.6% 0.109 109.5);
Tailwind
colors: {
  custom: {
    50: '#a29e61',
    500: '#78781e',
    950: '#000000',
  },
}
SCSS
$custom: #78781e;
$custom-light: #a29e61;
$custom-dark: #000000;
JSON
{
  "hex": "#78781e",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55564,
    "c": 0.10858,
    "h": 109.5
  },
  "luminance": 0.1752
}

Semantic roles & 50–950 ramp

primary
#78781E
secondary
#4646AC
accent
#45E345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78781E

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

Preview Lab → · Contrast checker → · Palette generator →

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